FineFindus / eyedropper

Pick and format colors
https://apps.gnome.org/Eyedropper
GNU General Public License v3.0
251 stars 26 forks source link

Scrollbar overlaps history list when overlay scrollbars are turned off #149

Open cassidyjames opened 1 month ago

cassidyjames commented 1 month ago

Describe the bug

When I disable overlay scrollbars in GNOME Settings (or when a distribution such as Endless OS sets it by default), the non-overlaid scrollbars overlap and obscure the history list of colors.

To Reproduce Steps to reproduce the behavior:

  1. Disable overlay scrollbars in GNOME Settings, or use Endless OS where they're off by default
  2. Pick a bunch of colors so your color history is sufficiently-long (10+ colors)
  3. Make sure your window is not too tall (to make sure the colors overflow the container and trigger a scrollbar)
  4. See the obscuring scrollbar :)

Expected behavior

I would expect the window size or layout to adjust to accommodate the non-overlaid scrollbar

Screenshots

Screenshot of the issue

Information

Debugging Information ``` Eyedropper: 1.0.0 Profile: Backend: Wayland OS: - Name: "GNOME" - Version: "45 (Flatpak runtime)" Libraries: - GTK: 4.12.5 - Libadwaita: 1.4.5 Sandbox: Flatpak Info: - Name: com.github.finefindus.eyedropper - Runtime: runtime/org.gnome.Platform/x86_64/45 - Runtime commit: ea8992828e01145face974f897a8d7826a61a9914cd0ebf39242cf435e76b4ed - Arch: x86_64 - Flatpak Version: 1.14.6 Portal error: None ```

Additional context Add any other context about the problem here.

FineFindus commented 1 month ago

I would expect the window size or layout to adjust to accommodate the non-overlaid scrollbar

I would have expected that too, but apparently not.

Unfortunately, I don't know of any way to prevent this/move the scrollbar next to it.