https://bugs.kerbalspaceprogram.com/https://bugs.kerbalspaceprogram.com/favicon.ico?15601711372017-02-04T04:13:03ZSquad BugtrackerKerbal Space Program - Bug #13745: buttons showing up on spacecenter screen when not supposed tohttps://bugs.kerbalspaceprogram.com/issues/13745?journal_id=666462017-02-04T04:13:03Zlinuxgurugamerlinuxgurugamer@gmail.com
<ul></ul><p>Just some more info:</p>
<p>The following is from <a class="external" href="https://github.com/Ezriilc/HyperEdit/issues/12">https://github.com/Ezriilc/HyperEdit/issues/12</a></p>
<p>With KSP v1.2 full release (build 1586), our "H" button (AppLauncherButton) is showing in some wrong scenes. It's not much of a problem, but it needs to be corrected, as it means something in our code is not right.</p>
<p>The behavior described below in my repro steps is also found with at least one other mod. See here:<br /><a class="external" href="http://forum.kerbalspaceprogram.com/index.php?/topic/34785-12-hyperedit-v153-sep-14-2016-cheat-teleporter-orbitplanet-editor-more/&page=57#comment-2801611">http://forum.kerbalspaceprogram.com/index.php?/topic/34785-12-hyperedit-v153-sep-14-2016-cheat-teleporter-orbitplanet-editor-more/&page=57#comment-2801611</a></p>
<p>As far as I know, we're properly checking for FLIGHT or TRACKINGCENTER before showing the button, and if memory serves that is how it worked up through KSP v1.2 pre-release. See here:<br /><a class="external" href="https://github.com/Ezriilc/HyperEdit/blob/master/Source/Core.cs#L93">https://github.com/Ezriilc/HyperEdit/blob/master/Source/Core.cs#L93</a><br /><a class="external" href="https://github.com/Ezriilc/HyperEdit/blob/master/Source/Core.cs#L194">https://github.com/Ezriilc/HyperEdit/blob/master/Source/Core.cs#L194</a></p>
<p>To reproduce this, have build 1586 and HyperEdit v1.5.3 installed.<br />Notice that our button does not show in the Menu scene (as of yet) - this is proper.<br />Create/Load a sandbox save.<br />Notice the "H" button is showing in the Space Center scene - it should not.<br />Load a ship and launch to the Flight scene.<br />Notice the button properly shows in all the Flight scene views - this is proper.<br />Switch back to the Space Center scene.<br />Notice the button is not showing now - this is proper.<br />Exit to the Main Menu scene.<br />Notice the button is now showing here - it should not.</p>