texstudio-org / texstudio

TeXstudio is a fully featured LaTeX editor. Our goal is to make writing LaTeX documents as easy and comfortable as possible.
http://www.texstudio.org/
GNU General Public License v3.0
2.82k stars 345 forks source link

Scrollwheel stops working after resume from disk #3041

Closed MaPePeR closed 1 year ago

MaPePeR commented 1 year ago

If I leave TexStudio open and set my system to hibernate, the scroll wheel does not work anymore after resuming from disk.

I can still scroll by dragging the scroll bars, but the scrollwheel does not work in any of the panes. It does not fix itself by closing and reopening files or panes.

Have to restart TexStudio to get scrollwheel behavior back.

Environment

Expected behavior

Scroll wheel to work after resuming from disk.

Actual behavior

Scroll wheel does not work inside TexStudio anymore, but everywhere else.

How to reproduce

sunderme commented 1 year ago

This sounds rather like a qt6 issue. Have you checked that other qt6 programs don't show that behavior ?

sunderme commented 1 year ago

and what is the desktop environment ?

MaPePeR commented 1 year ago

Have you checked that other qt6 programs don't show that behavior ?

That would have been smart, but it didn't occur to me, that TexStudio might be the only qt6 program I use regularly. From checking my package dependencies it's the only one.

I quickly tried with ladybird(depends on qt6-base) and focuswriter(depends on qt6-5compat like texstudio), and both didn't show that problem.

and what is the desktop environment ?

This is with awesomeWM on Xorg. Just restarting awesome does not seem to trigger the error.

sunderme commented 1 year ago

I will not spend effort here. I seems to work fine with sleep on ubuntu and windows. So, it is a specific problem with arch and the special window manager. (txs uses qt for anything scrollwheel related anyway)