You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is admittedly the least critical thing in the world, and I feel almost silly opening an Issue for it, but...
The GSConnect preferences window, at least on my system, is coming up just slightly too short to comfortably hold its contents. This is visible on the About pane, where the bottom of the Debug switch's box is cut off:
and slightly more so on the Preferences pane, where you have to scroll to see the description of the Nautilus Integration switch:
The local device entry in the Devices pane also scrolls, though in that case there's nothing but empty space below. The remote device entries all scroll, of course, because their Plugins lists make them much longer.
I couldn't find anywhere in the code where the height of the window was actually set (though I didn't look too hard), but if Shell is sizing it automagically then it's not doing a very good job. Perhaps it was rushed.
"You rush a miracle man, you get rotten miracles!" –Miracle Max, The Princess Bride
The text was updated successfully, but these errors were encountered:
To be honest I'm not sure where the window size comes from and accessing the preferences window itself requires a bit of hack so I never bothered to change it. Basically you return a GtkWidget for your preferences, then the window is instantiated and finally the widget is added to the window. So in order to do anything to the window you have to do something like this in buildPrefsWidget():
basically waiting for the window to enter the main loop, then modifying it real quick like before anyone notices. Honestly I'm surprised the extension reviewers let me get away with that when I added the switcher buttons to the headerbar.
The simpler way would probably be to disable scrolling on the pages to force the window to expand, however all the pages inherit from the same base class (modelled after the Gnome Control Center UI) and disabling scrolling on all of them could result in a window that doesn't fit on the screen. Since the About Page isn't likely to ever change, I've disabled vertical scrolling on that (now), but I'm not sure about any of the others, since there's probably more settings to come.
This is admittedly the least critical thing in the world, and I feel almost silly opening an Issue for it, but...
The GSConnect preferences window, at least on my system, is coming up just slightly too short to comfortably hold its contents. This is visible on the About pane, where the bottom of the Debug switch's box is cut off:
and slightly more so on the Preferences pane, where you have to scroll to see the description of the Nautilus Integration switch:
The local device entry in the Devices pane also scrolls, though in that case there's nothing but empty space below. The remote device entries all scroll, of course, because their Plugins lists make them much longer.
I couldn't find anywhere in the code where the height of the window was actually set (though I didn't look too hard), but if Shell is sizing it automagically then it's not doing a very good job. Perhaps it was rushed.
The text was updated successfully, but these errors were encountered: