https://bugs.kde.org/show_bug.cgi?id=444873

            Bug ID: 444873
           Summary: xdg-desktop-portal's FileChooser not focused
           Product: neon
           Version: unspecified
          Platform: Snap
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Snaps
          Assignee: neon-b...@kde.org
          Reporter: max.fede...@googlemail.com
                CC: neon-b...@kde.org
  Target Milestone: ---

SUMMARY

See https://forum.snapcraft.io/t/file-chooser-not-focused/22269

Snaps that use the kde-neon extension use the host's xdg-desktop-portal
implementation.
However, FileChooser dialogs (open & save) open behind the application window
because Qt sends the application's window id in the wrong format (dec instead
of hex).

The upstream patch correcting this problem:
https://github.com/qt/qtbase/commit/acaabc9108dfe75530960cf8e3ec4f3602cd82e0.patch

I guess this would need to be added in
https://invent.kde.org/neon/qt/qtbase/-/tree/Neon/release/debian/patches, but I
lack the time and skills to test building a deb with this patch to create a PR. 

https://forum.snapcraft.io/t/file-chooser-not-focused/22269
STEPS TO REPRODUCE
1. Run any snap that uses kde-neon
2. Open file dialog


OBSERVED RESULT
The file dialog opens out of focus in the background (at least on Gnome)

EXPECTED RESULT

The file dialog should open in the foreground, as it is the case with Gtk
applications.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to