[Bug 49987] New: Application freeze when trying to open file chooser dialog
https://bugs.winehq.org/show_bug.cgi?id=49987 Bug ID: 49987 Summary: Application freeze when trying to open file chooser dialog Product: Wine Version: 5.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: mikrutrafal(a)protonmail.com Distribution: --- Created attachment 68389 --> https://bugs.winehq.org/attachment.cgi?id=68389 Full log When I download my GTK app - https://github.com/qarmin/czkawka/releases/download/1.1.0/windows_czkawka_gu... and run it, then when clicking at "+Add" directly below "Included Directories", then app freeze Suspicious errors from console ``` 01d8:fixme:imm:ImmGetOpenStatus (000000000383F3B0): semi-stub 01d8:fixme:imm:ImmReleaseContext (0000000000030082, 000000000383F3B0): stub 01d8:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\users\\rafal\\Local Settings\\Application Data\\recently-used.xbel" 01d8:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\users\\rafal\\Local Settings\\Application Data\\gtk-3.0\\bookmarks" 01d8:err:shell:SHGetFileInfoW pidl is null! 01d8:err:shell:SHGetFileInfoW pidl is null! (czkawka_gui.exe:468): Gtk-WARNING **: 14:44:44.483: Error loading theme icon 'list-add' for stock: Icon 'list-add' not present in theme Adwaita 01d8:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\users\\rafal\\Local Settings\\Application Data\\gtk-3.0\\bookmarks" 01d8:fixme:file:GetLongPathNameW UNC pathname L"\\\\?\\C:\\users\\rafal\\Local Settings\\Application Data\\gtk-3.0\\servers" ``` On Windows none of this errors is shown -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49987 RafaĆ Mikrut <mikrutrafal(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/qarmin/c | |zkawka/releases/download/1. | |1.0/windows_czkawka_gui.zip -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49987 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Application freeze when |GTK Application freeze when |trying to open file chooser |trying to open file chooser |dialog |dialog CC| |xerox.xerox2000x(a)gmail.com Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Confirming. This seems to affect multiple (all?) GTK apps like Meld (doesn't start) and Geany (just exits after one chooses "File Open") Problem seems to be that the apps cannot find the schemas dir. One can work around it by setting GSETTINGS_SCHEMA_DIR env. variable. Like when you extract the app in /tmp it works like so: GSETTINGS_SCHEMA_DIR="z:\tmp\windows_czkawka_gui\share\glib-2.0\schemas" wine czkawka_gui.exe I don't know if this variable is set on windows by the app, or if this path is somewhere set in the registry by the app? Rafal, any ideas? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49987 --- Comment #2 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Did some more testing, maybe the troubles is caused by the XDG_DATA_DIRS environment variable. This is on my Antix distro set to /usr/local/share/:/usr/share/ But I think the apps get confused by it as they seem to use it as well. I can start the applications like XDG_DATA_DIRS="" wine czkawka_gui.exe and then they run . I think wine might need to unset this variable? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49987 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GTK Application freeze when |Multiple GTK Applications |trying to open file chooser |freeze/fail to start |dialog | --- Comment #3 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Unsetting XDG_DATA_DIRS also allows Meld to start properly, and "fixes" the crash in Geany after "File Open" is clicked. So this seems to be the culprit here. Somehow wine needs to unset this variable. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=49987 --- Comment #4 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Created attachment 78281 --> https://bugs.winehq.org/attachment.cgi?id=78281 patch Attached fix, will send later upstream for review. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49987 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |2dcd49a7c9e04da84936079d878 | |cdd6a0db95a18 Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #5 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Fixed by 2dcd49a7c9e04da84936079d878cdd6a0db95a18 Thanks Alexandre. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=49987 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.20. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla