Bug 465746 - Scripting and Lookandfeel should support setting Panel Floating behavior
Summary: Scripting and Lookandfeel should support setting Panel Floating behavior
Status: RESOLVED DUPLICATE of bug 457498
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.0
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-15 07:01 UTC by PK
Modified: 2023-09-29 14:33 UTC (History)
6 users (show)

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 PK 2023-02-15 07:01:13 UTC
SUMMARY
***
I create a global theme with the lookandfeelexplorer component of the Plasma SDK and in this global theme is a "floating" panel. Then, when I apply the newly made theme, the panel doesn't float. 
***


STEPS TO REPRODUCE
1. Create global theme containing a "floating" panel using the lookandfeelexplorer
2. Save the global theme
3. Apply the theme

OBSERVED RESULT
Floating panel doesn't float any more

EXPECTED RESULT
Global theme takes over Plasma layout accurately

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 5.15.0-60-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Celeron® J4105 CPU @ 1.50GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 600

ADDITIONAL INFORMATION
Btw, the "lookandfeelexplorer" is absent in the "select Product box" (top left of this page)
Comment 1 PK 2023-02-15 07:24:01 UTC
Now I try a few times more and the panel sometimes does float. Only sometimes not. Most of the time the global themes are not applied accurately.
Comment 2 Marco Martin 2023-02-15 09:59:16 UTC
To confirm the steps you did:

1) you configured your plasma to have a floating panel
2) in lookandfeelexplorer you created a new theme and then selected "layout from current plasma setup"
3) saved it
4) when applying it from the KCM, the panel is not made floating?
Comment 3 PK 2023-02-15 10:08:33 UTC
That is exactly what I did.
The results turn out to be quite unpredictable to say at the least...
Comment 4 Marco Martin 2023-02-15 10:12:22 UTC
I can confirm that both dumping and restoring the layout, the floating state doesn't get saved or restored

This is actually a bug of plasma scripting itself, which at the moment doesn't support floating panels at all
Comment 5 Nate Graham 2023-09-29 14:33:51 UTC

*** This bug has been marked as a duplicate of bug 457498 ***