GNOME Bugzilla – Bug 771743
Mouse panel very small when touchpad is present, on Wayland
Last modified: 2016-10-26 23:11:39 UTC
Created attachment 335950 [details] Screenshot See the screenshot. Other panels with more options are bigger, so it would be nice if this one is too. I have to scroll down to see the touchpad options.
Which exact versions of gnome-control-center and GTK+ are you using?
3.22.0
Might be a bug in 36cd7177fd40432cb4ae7db10e2571dbbd9604b9. There was an ordering problem in X11, might be another one there.
(In reply to Bastien Nocera from comment #3) > Might be a bug in 36cd7177fd40432cb4ae7db10e2571dbbd9604b9. There was an > ordering problem in X11, might be another one there. Wrong bug. It might be GTK+ playing with sizing again.
Also seen on Xorg, so this bug is not specific to Wayland I think.
I was about to report the same window issue...
Still present on 3.22.1
*** Bug 772847 has been marked as a duplicate of this bug. ***
Created attachment 337715 [details] [review] mouse: Set min-content-height on the scrolled window Require the scrolled window which wraps the panel content to have a minimum-content-height of 380. 380 is an estimated value based on the SMALL_SCREEN_FIXED_HEIGHT (see shell/cc-window.c) minus 20px of tolerance considering corner cases where there are large font settings (see commit 62f1f6b).
I also created bugs for universal access, search, power and notification windows and my computer screen has 1366x768 pixels but those windows are not big enough vertically, it should stretch based on the resolution of the screen, It makes no sense to scroll down to reveal the rest of the options in a screen resolution like that.
(In reply to Ricardo Ramos from comment #10) > I also created bugs for universal access, search, power and notification > windows and my computer screen has 1366x768 pixels but those windows are not > big enough vertically, it should stretch based on the resolution of the > screen, It's not the same problem as the one above, which is about the window becoming smaller than the "overview" section of the Settings shell but still requiring a scrollbar. Your problem will be fixed by the new shell design, as discussed in bug 773094.
Review of attachment 337715 [details] [review]: I'd prefer the way the power panel does it in panels/power/cc-power-panel.c on_content_size_changed()
Created attachment 337851 [details] [review] mouse: Set min-content-height on the scrolled window Set a minimum content height of 490px for the panel when the allocated height is smaller than 490px. 490 is an estimated value for the panels to properly fit on netbook screens. See https://wiki.gnome.org/Design/SystemSettings#Notes This also drops the max-content-height limit for the scrolled window, as it is no longer necessary.
*** Bug 773336 has been marked as a duplicate of this bug. ***
Attachment 337851 [details] pushed as 6b32333 - mouse: Set min-content-height on the scrolled window
*** Bug 773558 has been marked as a duplicate of this bug. ***