-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphical glitch when using some shortcuts in Geany Preview #9
Comments
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? |
Intel UHD Graphics G4
I will try Wayland with a live-system of Ubuntu. I'm still using Lubuntu, so only LXQt and Openbox. |
I do remember seeing a glitch when I rapidly hid and showed the sidebar. Otherwise it wasn't noticeable. Try KDE Plasma too. |
OK, I intend to try Ubuntu and Kubuntu, both as live-system. Is live-system OK, or should I install both systems? |
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. |
I just want to document that on Lubuntu 24.04 with Geany 2.0 with eink-display or TFT-display, there is still the graphical glitch. |
I think that there are two possibilities to show "only sidebar":
In "disable editor" the separation line between editor and sidebar can't be grabbed on one side of the window because there is no separation line any more. This issue is using "disable editor" in the shortcut because I can't grab a separation line on one window-side. What about the idea to try "maximize sidebar" as shortcut to see if the graphical glitch is still there? |
"Maximize" sidebar would be troublesome. Would require saving current size, changing it, restoring it. I had a plugin that tried to do that to save different sidebar sizes for maximized and unmaximized windows. It got confused some small percentage the time (maybe around 5-10%). Then one day, it stopped working. I didn't bother to investigate the reason. Possibly some GTK or Geany change prevents plugins from changing sidebar size. Would also be very confusing if editor had focus while hidden by "maximized" sidebar. User input could modify the document even though it's not visible. Don't know whether this could also be a problem when the document is hidden entirely. I think there's a Lua script attempting to implement this capability? What happens when document had focus, is hidden, user types something, then document is unhidden? |
I wonder whether the glitch (second screenshot) could be caused or mitigated by some animation effect. |
I think that the change is just slow. The sidebar moves to the left. And then the sidebar will be extended to the right. If both steps would be executed much faster, then maybe one would not see the graphical glitch. |
That is really strange: Do you have an explication? |
It seems to be that geany-lua is not the problem, but preview. |
No. It's probably the webbrowser component is relatively slow to load. There's nothing I can do about it. |
Because I can't reproduce the issue when the plugin
If you can't do nothing about it, you can close the issue at preview. |
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
image 2
image 3
History
The glitch was mentioned for the first time in #4 (comment) in point 3, and later in #7 (comment).
Environment
Lubuntu 23.04 with Geany 1.38.
Remark
Because you wrote that you don't see the graphical glitch at all (see #7 (comment)):
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.
The text was updated successfully, but these errors were encountered: