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

Devin Lin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-bigscreen/-/commi |ma/plasma-bigscreen/-/commi
                   |t/d55713c704a904df0184ae7e8 |t/25aa63252e769626bc2bc91ab
                   |9bc8a45a3b84821             |698dd07d0b8c6d9

--- Comment #3 from Devin Lin <[email protected]> ---
Git commit 25aa63252e769626bc2bc91ab698dd07d0b8c6d9 by Devin Lin.
Committed on 27/10/2026 at 13:37.
Pushed by devinlin into branch 'Plasma/6.8'.

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`.


(cherry picked from commit d55713c704a904df0184ae7e89bc8a45a3b84821)

541763fc settingsapp: allow switching module while open
6ba38549 Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: User8395 <[email protected]>

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/25aa63252e769626bc2bc91ab698dd07d0b8c6d9

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

Reply via email to