Bug 414851

Summary: Add DBUS methods "Window.setDefaultProfile" and "Session.profile"
Product: [Applications] konsole Reporter: Stefan <stefan+kde>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 19.04.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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.