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
geany freezes 10 seconds when I save or edit coming from another app (ubuntu 20.10) #2737
Comments
This is a recorded message, please always provide the version of Geany, Glib and GTK and the operating system and version you are using (see lines near the top of Help->Debug Messages). Are you saving on the exact same file, filesystem, and partition as you did in 20.04 or has it been re-built or moved and what is the filesystem? |
Thanks for caring.
Only one plugin is active : "Export"
The filesystem is organised slightly differently as before on Ubuntu 20.04 but i only remember some differences :
All partition are at least half free |
Are you using XWayland, if so try running Geany without X just purely Wayland with |
I'm not familiar with these configs and tools so I searched and found related tools and here are the results :
About your hint to
But when i launch another new terminal, "echo $GDK_BACKEND" returns an empty line. So in case i confirm there is no more issue, how would i automaticaly launch geany with GDK_BACKEND=wayland ? |
I don't run Ubuntu itself, but its my understanding that you select X11 or Wayland at the login screen.
Suggests you chose X11 by default or deliberately.
Would have been good to tell us the error, but given above its probably not important. So if you are running with the "conventional" window system, and none of the other points you note seem relevant, and you say Geany isn't using lots of CPU, then its probably waiting for the system to tell it something, but I don't know what. Geany certainly works for others on Ubuntu 20.10 so something is unique about your setup. Possibly you could run geany under the debugger and see where its hung, but I suspect that the system package may not have symbols, so it might not help, but try it if you can. Any other suggestions welcome. |
[UPDATE] AMOF i tried various terminal commands to switch to wayland, but doing so, geany allways kept freezing. Sometime the freeze lasts 30s. |
I can confirm this issue on Fedora 33, also runing Xorg. Fedora installs Geany 1.37.1. You can force a refresh / unlock the freeze by pressing the Windows button, or pull down a Geany menu. |
I can't reproduce it on Wayland, but unfortunately I need Xorg due to a requirement for VNC. |
So far doesn't happen to any of the regular contributors AFAIK, but they may not be running the specific configuration that is problematic. |
I can confirm this bug on Arch Linux with GNOME 3.38.2 and 3.38.3. Downgrading to GNOME 3.38.1 resolves the issue. Edit: Same as for @WanWizard, it only affects X11. |
Can confirm. Random freezes for several seconds on GNOME (v3.38.3) with X11 if Geany window is maximized (#2665). Does not happen if the window is not maximized.
|
It would seem that there is something about X11 and recent? Gnome versions and/or GTK versions. Those able to reproduce it should probably report it to Gnome as the component that @michael-platzer finds downgrading fixes (well one report and the others confirm). Please post the report reference here for tracking. Thanks for everyone for tracking it this far. |
This happens since i upgraded to Ubuntu 20.10 : quite often when i save the opened document, geany freezes about 10 seconds.
[Edit :]
In case it makes a difference : on Ubuntu 20.04 i think i had a swap partition whereas now on 20.10 i have a swapfile :
(/etc/fstab with
/swapfile none swap sw 0 0
)The text was updated successfully, but these errors were encountered: