Bug 457498 - Allow setting Floating and Adaptive Transparency panel settings via Desktop Scripting for Global Theme Layouts
Summary: Allow setting Floating and Adaptive Transparency panel settings via Desktop S...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.25.3
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 465746 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-04 22:07 UTC by The Feren OS Dev
Modified: 2023-11-06 19:49 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description The Feren OS Dev 2022-08-04 22:07:28 UTC
SUMMARY
Basically, the panel scripting thingy documented at https://userbase.kde.org/Plasma/How_to_create_a_Unity-like_look_and_feel_theme_using_Plasma%E2%80%99s_Desktop_Scripting_API has 0 way right now to give a newly birthed panel the Floating attribute, nor any of the non-default Adaptive Transparency values, despite everything I've tried (likely because of its positioning of the configs in plasmashellrc instead of plasma-org.kde.plasma.desktop-appletsrc).

Even Global Theme Explorer's layout saver cannot save those attributes on panels.


STEPS TO REPRODUCE
1. N/A

OBSERVED RESULT
The inability to pre-set floating or solid/transparent adaptive transparency options in panels in Desktop Layouts

EXPECTED RESULT
The ability to pre-set floating or solid/transparent adaptive transparency options in panels in Desktop Layouts

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.25
(available in About System)
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
Two fixes I can think of are: Either move the configuration over to the plasma-...-appletsrc file instead of plasmashellrc, or allow scripting to change the values, for newly created panels we store as variables in our desktop-generation script, in plasmashellrc as well.
Comment 1 Nate Graham 2023-09-29 14:33:51 UTC
*** Bug 465746 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2023-11-06 19:48:26 UTC
Fixed bi Niccolò Venerandi with https://invent.kde.org/plasma/plasma-workspace/-/commit/089eb522d5598bb89bf184f4649a69417a732f31 for Plasma 6.0!
Comment 3 The Feren OS Dev 2023-11-06 19:49:37 UTC
(In reply to Nate Graham from comment #2)
> Fixed bi Niccolò Venerandi with
> https://invent.kde.org/plasma/plasma-workspace/-/commit/
> 089eb522d5598bb89bf184f4649a69417a732f31 for Plasma 6.0!

I don't think this accounts for Adaptive Transparency, though, unless I'm mistaken - haven't had time yet to compile and check in a VM.