Keep file dialogs within the app window - #39
Conversation
|
I reproduced this outside Omawrite with a standalone GTK 3 file chooser. GTK converts an already-computed CSS pixel font size by
|
|
The upstream GTK fix is now available as GNOME/gtk!10311, with its full CI pipeline passing. The recommendation to close this draft in favor of addressing the GTK root cause is unchanged. |
|
The upstream GTK fix has now been merged into the Because this draft replaces the native chooser instead of fixing the underlying GTK bug, I recommend closing it without merging. |
<<<< AI wording below >>>>
Problem
Under the GTK platform theme, Qt Quick Dialogs uses a native GTK file chooser. On a 2x Wayland display, that chooser can restore a 1231x903 GTK geometry and open beyond the 1280x832 logical work area.
Reported in omacom/omarchy#9046.
Fix
Force Omawrite Open and Save dialogs to use Qt Quick Dialogs built-in implementation. Its Material dialog has a 600x400 logical default and stays inside the application window instead of restoring GTK window geometry.
Add object names and a unit check that both dialogs set
DontUseNativeDialog.Verification
git diff --checkusesQuickFileDialogscoverage