Bug 414851 - Add DBUS methods "Window.setDefaultProfile" and "Session.profile"
Summary: Add DBUS methods "Window.setDefaultProfile" and "Session.profile"
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 19.04.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-05 10:36 UTC by Stefan
Modified: 2021-02-09 04:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan 2019-12-05 10:36:57 UTC
SUMMARY

Currently, Konsole offers the DBUS methods 

- Window.defaultProfile
- Session.setProfile

but their counterparts 

- Window.setDefaultProfile
- Session.profile 

are missing.

These methods would be very helpful for getting the current profile and switching the profile for all, existing and future/new, sessions.  

"Session.profile" could also be used to query the profile in Vim and adjust the "background" accordingly.

STEPS TO REPRODUCE
1. qdbus $KONSOLE_DBUS_SERVICE /Windows/1
2. qdbus $KONSOLE_DBUS_SERVICE $KONSOLE_DBUS_SESSION
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 30
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION
Comment 1 Kurt Hindenburg 2021-02-09 04:32:12 UTC
These have been added in recent versions.