zagortenay333 / cronomix

All-in-one timer, stopwatch, pomodoro, alarm, todo and time tracker gnome-shell extension
MIT License
570 stars 74 forks source link

Help panes cut off at the bottom of the screen #223

Closed Yannik closed 1 year ago

Yannik commented 1 year ago

The help panes are cut off at the bottom of the screen and it is not possible to scroll them.

Example: Screenshot from 2023-06-06 12-09-48

This seems to be the case for all help panes which are long enough to extend to the bottom of the screen.

zagortenay333 commented 1 year ago

Are you sure that they are cut off? You can scroll but the scrollbar is invisible until you hover over the popup.

Yannik commented 1 year ago

@zagortenay333 Yes, it is impossible to scroll. Also, no matter where I move the mouse, a scroll bar is not showing up.

zagortenay333 commented 1 year ago

Ahh shoot. I can't reproduce this on my machine...

Screencast from 2023-06-06 12-17-30.webm

zagortenay333 commented 1 year ago

Not sure how to tackle this...

Yannik commented 1 year ago

Here is a screen recording of the issue: Screencast from 2023-06-06 12-21-21.webm

Unfortunately you can't see my mouse, but I am moving it all over the pane and trying to scroll, but nothing happens.

zagortenay333 commented 1 year ago

Could you try typing this in the gnome shell console (one line at a time):

Main.layoutManager.findIndexForActor(global.stage)
Main.layoutManager.getWorkAreaForMonitor(r(0)).height

You get the console by pressing alt-f2 then lg.

Does it report roughly the height of your monitor?

Yannik commented 1 year ago

The first return value is 0, and the second one is 2096.

This is on a 3840x2160 screen with 200% scaling.

zagortenay333 commented 1 year ago

Hmmm. Can you see if the problem happens when you are at 100% scaling?

Yannik commented 1 year ago

At 100% scaling the dpi is so high that the whole box fits on the screen.

zagortenay333 commented 1 year ago

Can you change your resolution in the gnome settings to something smaller so that it doesn't fit. Modern software debugging right here! :D so sad...

Yannik commented 1 year ago

Yep, halving the resolution and setting scaling to 100% does indeed result in sucessful scrolling. The output from Main.layoutManager.getWorkAreaForMonitor(r(0)).height is halved as well.

zagortenay333 commented 1 year ago

What happens when you halve the resolution but set the scale to 200%?

Yannik commented 1 year ago

Everything is huge (and therefore, not alot of the panel fits on the screen), but scrolling works.

zagortenay333 commented 1 year ago

So the issue is somehow related to scaling...

lev741 commented 1 year ago

Same problem. I have 200% zoom. With lover resolution I not see scroll bar but mouse whell works. With zoom not working.

Btw: Do you plan to be this pages able to translate?

zagortenay333 commented 1 year ago

Yeah I need to make the docs translatable as well. Forgot about that...

zagortenay333 commented 1 year ago

Could you guys see if it works now? You'll have to download the extension from github.

lev741 commented 1 year ago

I tested it, it works fine now.

Yannik commented 1 year ago

Works for me also. Thanks!