xiota / geanylua-scripts

GeanyLua scripts to add some minor features to Geany. Hide the menubar. Show multiple long-line column markers.
GNU General Public License v2.0
2 stars 0 forks source link

Graphical glitch when using some shortcuts in Geany Preview #9

Open ralf3u opened 1 year ago

ralf3u commented 1 year ago

When using some special shortcuts (Toggle editor 1, Toggle editor 2 and both Switch Views), then one can see the scrollbar of the Preview for a part of the second somewhere else.

If for example the sidebar is on the right side, and if the widths of editor and sidebar are about 3:1 (see image 1), then, after having pressed some shortcuts, the sidebar is moving to the left side (see image 2), so that the scrollbar of the Preview is more on the left side, and then the content expands to the right side (see image 3). The images are screenshots from a video that I did with a digital camera.

image 1 1

image 2 2

image 3 3

History The glitch was mentioned for the first time in https://github.com/xiota/geanylua-scripts/issues/4#issuecomment-1152776068 in point 3, and later in https://github.com/xiota/geanylua-scripts/issues/7#issuecomment-1451950479.

Environment Lubuntu 23.04 with Geany 1.38.

Remark Because you wrote that you don't see the graphical glitch at all (see https://github.com/xiota/geanylua-scripts/issues/7#issuecomment-1460026893): Maybe it would be good if you notice your environment like CPU, RAM, distribution name, Geany version number, and graphic card, so if someone feels too much disturbed by the graphical glitch, there is at least the possibility to change the environment. And maybe the values could help to find the cause of the issue.

xiota commented 1 year ago

I doubt most people would see or be bothered by the glitch because normally people don't hide and show the sidebar as much as you do. What GPU are you using? Have you tried X11 vs Wayland? Does the glitch occur with different window managers or desktop environments?

ralf3u commented 1 year ago

What GPU are you using?

Intel UHD Graphics G4

Have you tried X11 vs Wayland? Does the glitch occur with different window managers or desktop environments?

I will try Wayland with a live-system of Ubuntu. I'm still using Lubuntu, so only LXQt and Openbox.

xiota commented 1 year ago

I do remember seeing a glitch when I rapidly hid and showed the sidebar. Otherwise it wasn't noticeable. Try KDE Plasma too.

ralf3u commented 1 year ago

OK, I intend to try Ubuntu and Kubuntu, both as live-system. Is live-system OK, or should I install both systems?

xiota commented 1 year ago

Try live first because it's easier. Sometimes live environments use "safe" drivers that may not perform as well. So you might want to install the distro if you didn't see the results you want. If you have a machine set up for distro testing, you could try Endeavour and Manjaro. They use a different package manager from Ubuntu, so installation would be different.

ralf3u commented 4 months ago

I can still see the graphical glitch in Geany 2.0.