https://bugs.winehq.org/show_bug.cgi?id=52584
Bug ID: 52584 Summary: Creating GTK ColorChooserDialog freeze entire app Product: Wine Version: 7.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: mikrutrafal@protonmail.com Distribution: ---
Created attachment 71908 --> https://bugs.winehq.org/attachment.cgi?id=71908 Rust Project
When compiling and running such GTK-rs code in Linux(project in attachment): ``` use gtk4::prelude::*; use gtk4::*;
fn main() { let application = gtk4::Application::builder().build(); application.connect_activate(move |application| { let window = gtk4::ApplicationWindow::new(application); window.set_title(Some("APP"));
window.show(); println!("BEFORE CREATION!"); let _something = ColorChooserDialog::default(); println!("CREATED!");
});
application.run(); } ``` then window just show and I can easily remove it When running exactly same code, but compiled with Windows support, then transparent window shows and my DE(Gnome Shell) wants to remove it, because it doesn't respond. This is what is printed to output when running windows binary ``` 0180:fixme:reg:NtNotifyChangeMultipleKeys Unimplemented optional parameter 0180:fixme:reg:NtNotifyChangeMultipleKeys Unimplemented optional parameter 0180:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"! 0184:fixme:combase:RoActivateInstance (000000000D3FF950, 000000000D3FF8C8): semi-stub 0184:fixme:combase:RoGetActivationFactory (L"Windows.Management.Deployment.PackageManager", {00000035-0000-0000-c000-000000000046}, 000000000D3FF7C8): semi-stub 0184:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Management.Deployment.PackageManager"
(tee.exe:380): Gdk-WARNING **: 11:39:49.038: Failed to get device node property {78C34FC8-104A-4ACA-9EA4-524D52996E57},256 size: Element not found.
(tee.exe:380): Gdk-WARNING **: 11:39:49.054: Failed to get device node property {78C34FC8-104A-4ACA-9EA4-524D52996E57},256 size: Element not found.
(tee.exe:380): Gdk-WARNING **: 11:39:49.072: Initial call to GetUpdatedClipboardFormats() failed with error 998
(tee.exe:380): Gdk-CRITICAL **: 11:39:49.083: gdk_clipboard_claim_remote: assertion 'formats != NULL' failed
(tee.exe:380): Gdk-CRITICAL **: 11:39:49.093: gdk_content_formats_unref: assertion 'formats != NULL' failed 0180:fixme:wgl:ConvertAttribWGLtoGLX unsupported 1 WGL Attribute 0180:fixme:wgl:ConvertAttribWGLtoGLX unsupported 1 WGL Attribute
(tee.exe:380): Gdk-WARNING **: 11:39:51.115: gdk_gl_context_make_current() failed 0180:fixme:imm:ImeSetActiveContext (0x9f770, 1): stub 0180:fixme:imm:ImmReleaseContext (00000000000100B6, 000000000009F770): stub BEFORE CREATION!
(tee.exe:380): GLib-GIO-ERROR **: 11:39:51.166: No GSettings schemas are installed on the system
```
Precompiled binaries are available here - https://github.com/qarmin/gtk-rs-fuzzer/releases/download/1.0.0/windows_cras... (90MB packed in size, because contains all required GTK4 libraries and also compiled binary is not stripped)