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 on Fedora 33 freezes #2665
Comments
This is a recorded message, please always provide the version of Geany, Glib and GTK (see lines near the top of Help->Debug Messages) and the operating system and version you are using. |
Also are you using Wayland? |
12:59:32: Geany INFO : Geany 1.37.1, ru_RU.UTF-8
I think yes. |
Make sure NO plugins are enabled too. |
Possible duplicate of #2658 |
Plug-ins manager shows nothing enabled. |
None of the regular developers or contributors use wayland systems, so we can't duplicate the problem. So you will need to provide the debugging information. Check if Geany is using lots of CPU when frozen, and run under gdb and interrupt and backtrace when frozen. |
Interrupted Geany under gdb just after the freeze several times, got this (always the same result):
And a lot of threads before it, but maybe it's normal behaviour.
|
Funny moment: without gdb Geany freezes for seconds on my system, while within gdb freezes are much shorter. |
The backtrace shows its waiting for something (poll) probably from the Wayland server, what desktop are you using? But basically it looks (to me) like its nothing Geany can control. |
Or try |
|
A question raised elsewhere is what freezes? Is it the whole UI or just the edit window? |
UI when switching between tabs too. |
But the upgrade to Fedora 33 would have changed a lot more than just Geany, or are you saying Geany 1.36 works fine on Fedora 33 with wayland, but 1.37 doesn't? |
Actually I do not remember now. |
I don't suppose you can try Geany 1.36 on Fedora 33? Also thank you for being helpful, I did contact a user on IRC who I thought used Geany on Wayland, but they don't so its not a configuration anybody else has (yet) AFAIK and your input is the only available data we have. |
There still Geany 1.36 in the repository, so I installed it. |
Ok, so it appears that something that changed in Fedora from 32 to 33 is the problem, possibly GTK versions. Not sure how to take it further. |
It's probably still Wayland, I don't think you can use per-app environment variables if you're within Wayland. Try to log out and change the session to an X-session instead of Wayland (gear icon -> 'GNOME on Xorg'). |
@vkireyeu try |
I tried to find how to enable X11 on Fedora or check what I am using (X11 or wayland), so, it seems like the whole time on my laptop I was using X11. Maybe it was because of my cards (Intel + Nvidia). Now I configured system to finally use Wayland (I hope!), so
And... No freezes in Geany! So, summary:
I am sorry to confuse you. |
@vkireyeu good news! If you are willing and able, it would be interesting to see if you experience the same issue with Scite which is the reference editor for the source code editing widget/component Geany uses (Scintilla). If you experience the same issue with Scite, it would show that there's probably not an issue with Geany's code and the bug could be worked on upstream in Scintilla. |
It seems like Scite is not in the Fedora repositories, so unfortunately I can't. |
I get the same bugs as @vkireyeu, namely Geany often freezes when typing or erasing text and freezes when attempting to switch tabs. When typing or erasing text a "CTRL+S" sometimes unfreezes Geany. You can type when it is frozen and the input correctly appears on screen when Geany unfreezes. The "CRTL+S" method does not unfreeze Geany when trying to switch tabs. A "ALT+TAB" to switch to other applications (tried with Chrome and Terminal) solves the freeze every time for both the typing freeze and the tab switching freeze. I am currently using POP!_os 20.10 and Geany 1.36, no plug-ins are enabled. |
Hello everyone. I am experiencing the freezes too. All my addons are disabled and at the startup there is only the blank
It is true that interacting with the window manager makes the text appear (so it make it unfreeze): for instance in some cases the text never shows up until I press |
I have tried geany using the wayland session (simply the |
One last bit of information which I think may be very important: the problem only occurs if the window is maximized. If not, I cannot manage to reproduce the freeze. There may be some other ways, but, considering the short amount of time I tried, I couldn't make it freeze if the window was unmaximized. |
I was trying the sublime text editor, and I managed to get it to freeze in maximized mode. To unfreeze I had to do I would use the wayland session, but for me is laggy and some software is still not compatible (rofi doesn't work for me). |
Since the problem doesn't seem to occur on any other systems except Fedora 33 X11/Wayland it suggests there is a problem in that system. IIUC Fedora uses XWayland which is an X11 frontend for Wayland rather than Xorg X11 itself, so probably there are bugs in that. Basically doesn't seem to be anything Geany can do to help except say "use wayland directly" which seems the only workaround. |
@elextr @vkireyeu @numen3 @Orionic47 @codebrainz |
Geany constantly freezes on a linux system while typing text or switching between tabs.
Sometimes "Ctrl+S" helps and a typed text appears.
I am using Fedora 33 with Gnome3 and Geany from the repo.
The text was updated successfully, but these errors were encountered: