mate-desktop / atril

A document viewer for MATE
http://www.mate-desktop.org
GNU General Public License v2.0
197 stars 62 forks source link

Scrollbar missed when mouse cursor at screen's right edge #588

Open d01010101 opened 1 year ago

d01010101 commented 1 year ago

Expected behaviour

One of the common UI guidelines is that when a window is maximized, it is enough to move the mouse to the screens' right edge to use the scrollbar.

Actual behaviour

There is a one-pixel wide column to the right of the scrollbar which makes the above behavior impossible.

Steps to reproduce the behaviour

Evident from the above.

MATE general version

1.26.0-1

Linux Distribution

Linux Mint 21

Link to bugreport of your Distribution (requirement)

https://projects.linuxmint.com/reporting-an-issue.html

lukefromdc commented 1 year ago

This is likely to depend on borders set by themes. Does this exist in Menta? Note that fulltime borderless windows would be a problem for anyone using MATE without compositing, as in the noncomposited case a borderless window does not have shadows, blends into othe windows, and cannot be resized by it's edges.

Fortunately, a fullscreened window can be borderless even without compositing, however theme authors need to include this in the theme.

Also, if you can run atril with GtkInspector attacked, you can find out if anything is between the scrollbar and the window edge, such as a non-zero frame edge (again, controlled by the theme in most cases).

d01010101 commented 1 year ago

In other apps, such as MATE Terminal or Chrome, there are no similar issues.

lukefromdc commented 1 year ago

This occurred in Atril with my own UbuntuStudio_Legacy theme as well when fullscreened-and zooming in on the edge of the screen did NOT show an obvious border or other widget between scrollbar and screen edge. I DID see a thin back "screen edge" line that I did NOT see with a similar zoom up to a corner of a fullscreened Firefox however.

Atril: Atril_Scrollbar

Firefox(does not use theme scrollbar of course)

firefox_edge

d01010101 commented 1 year ago

I use the default Mint theme, and it looks like there is nothing to the right of the scrollbar which does not belong to the application itself:

a

lukefromdc commented 1 year ago

Also looks like the slider edge is above the trough edge, so it should work and if it does not you found a bug