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

Harald Sitter <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/xdg-desktop-portal-kde/c
                   |                            |ommit/b32240b9e898fbf2ec120
                   |                            |1e3628c8357c4af6676
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Harald Sitter <[email protected]> ---
Git commit b32240b9e898fbf2ec1201e3628c8357c4af6676 by Harald Sitter.
Committed on 22/04/2022 at 09:37.
Pushed by ngraham into branch 'master'.

add Request closing support to all rejectable dialogs

this ensures that the dialog goes away when the app disappears while the
dialog is still up (e.g. when ctrl-c'ing the app)

this simply refactors the existing Request code to correctly register on
the path and then emit the closerequest that gets routed to the ::reject
function of the dialog. for extra flexibility this is implemented as a
template such that the concrete type doesn't matter so long as it has a
reject slot.

M  +3    -0    src/access.cpp
M  +3    -0    src/appchooser.cpp
M  +2    -0    src/dynamiclauncher.cpp
M  +4    -0    src/filechooser.cpp
M  +1    -11   src/inhibit.cpp
M  +3    -0    src/print.cpp
M  +3    -0    src/remotedesktop.cpp
M  +14   -1    src/request.cpp
M  +12   -1    src/request.h
M  +3    -0    src/screencast.cpp
M  +3    -0    src/screenshot.cpp

https://invent.kde.org/plasma/xdg-desktop-portal-kde/commit/b32240b9e898fbf2ec1201e3628c8357c4af6676

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

Reply via email to