Created attachment 132015 [details] Libreoffice scrollbar vs Gnome-terminal scrollbar. Notice the attached screenshot. The scrollbar in gnome-terminal is around two thirds the width of the scrollbar in libreoffice. Ideally native overlay scollbars would have been nice but for now matching the width of native ones would provide visual improvements. Note: I am using gtk+ 3.22.10 with the default gtk3 theme (Adwaita). Third party themes not written by Gnome may look different.
it seems LibreOffice uses the same scroll width across all platforms. @Caolan: is it possible/do we want to have a different scroll width among platforms?
It should be possible, i.e. see SetScrollBarSize in vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx presumably that needs to be updated/fixed in some fashion
Maybe the rounding at the top and bottom edges of the scroll bar can be improved as well. The native one is more smooth.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=aa5d6f5acbab12b1ba76365f776ba228ba5e7e0e Resolves: tdf#106645 gtk3 scrollbar is too wide It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9b7c35b4b7fd5a5347a3602f110d78e1019a54e9 Related: tdf#106645 make gtk3 scrollbar themes with arrows work It will be available in 5.4.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-5-3": http://cgit.freedesktop.org/libreoffice/core/commit/?id=97a036e5a4b410b3f260a27566c695ac801b7ffb&h=libreoffice-5-3 Resolves: tdf#106645 gtk3 scrollbar is too wide It will be available in 5.3.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.