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

Devin Lin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-bigscreen/-/commi
                   |                            |t/d55713c704a904df0184ae7e8
                   |                            |9bc8a45a3b84821

--- Comment #2 from Devin Lin <[email protected]> ---
Git commit d55713c704a904df0184ae7e89bc8a45a3b84821 by Devin Lin, on behalf of
User8395.
Committed on 27/10/2026 at 13:26.
Pushed by devinlin into branch 'master'.

settingsapp: allow switching module while open

Sometimes, a user might want to go to a specific settings page (triggered from
somewhere else in the interface), but the settings app is already open.
Previously, the settings app would do nothing, as the
`KDBusService::activateRequested` signal handler didn't do anything with the
`arguments` received containing the newly requested `launchModule`.

This adds a `launchModuleChanged` signal to the `SettingsApp` class and adds
its handler in `Main.qml`. The `activateRequested` handler will set the new
launchModule if it exists in `arguments`, which will trigger the
`launchModuleChanged` signal.

This also changes the `showOverlay` function in `Main.qml`, and makes it read
the `launchModule` instead of another function reading it and passing it to
`showOverlay`.

M  +4    -1    settingsapp/main.cpp
M  +9    -9    settingsapp/qml/Main.qml
M  +1    -0    settingsapp/settingsapp.cpp
M  +4    -1    settingsapp/settingsapp.h

https://invent.kde.org/plasma/plasma-bigscreen/-/commit/d55713c704a904df0184ae7e89bc8a45a3b84821

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

Reply via email to