Skip to content
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 a shortcut that disables the editor and that extends the Preview-tab #61

Open
ralf3u opened this issue Oct 8, 2024 · 2 comments

Comments

@ralf3u
Copy link

ralf3u commented Oct 8, 2024

Description
When using some shortcuts of switch-views of geanylua (Toggle editor 1, Toggle editor 2 and both Switch Views), then one can see the scrollbar of the Preview-tab for a part of a 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 the shortcut Toggle editor 1, the sidebar is moving to the left side (see image 2), so that the scrollbar of the Preview-tab 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
editor-sidebar

image 2
graphical_glitch

image 3
afterwards

Possible explication
The graphical glitch does not appear in the tab Documents of the sidebar when the plugin Preview is deactivated in the list of the Plugin Manager. So, it could be that the webbrowser component of the Preview-tab loads slowly.

History
This issue is based on the knowledge of xiota/geanylua-scripts#9.

System
Lubuntu 24.04
Geany 2.0

@xiota
Copy link
Owner

xiota commented Oct 8, 2024

Most likely not much I can do about this. Problem seems to be related to rendering speed of the webview. Widgets probably aren't meant to be repeatedly shown and hidden.

Will leave issue open in case some solution or workaround is found.

@ralf3u
Copy link
Author

ralf3u commented Oct 31, 2024

What I forgot to mention in the report:

The graphical glitch does not appear always when pressing some shortcuts. But if the graphical glitch appears, then it appears when toggling only the first time for example from only editor to only sidebar. If I continue to toggle, then the graphical glitch does not occur any more.
If editor&sidebar are shown again side by side and then if I toggle again from only editor to only sidebar, then:
If the graphical glitch appears, then it appears again when toggling only the first time for example from only editor to only sidebar. If I continue to toggle, then the graphical glitch does not occur any more.

The graphical glitch only appears if a scrollbar exists in the preview-tab, is it the vertical scrollbar or the horizontal scrollbar or both scrollbars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants