| Summary: | Applet: state of presentation mode switch is not synchronized across multiple instances | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Daniel <daniel-other+kdebug> |
| Component: | Display Configuration widget and OSD | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.18.4 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Daniel
2020-09-11 21:57:09 UTC
Still an issue with the near-total rewrite in 5.25. Seems like we need to use a global singleton to store this, rather than implicitly having it be stored per-applet. Indeed, this is done in KScreen and Battery & Brightness applets in similar ways: they request inhibitions per applet. It should be probably moved out into a Plasma Data Engine service as an operation (sorry for multiple technical jargons). But then it raises a question: if Plasma enables inhibition on applet's behalf, and then user proceeds to remove all instances of such applets, could we reasonably detect that and turn inhibition off? Surely, a corner care like this can be ignored though. Data engines are on their way out and won't be in Plasma 6, BTW. I wouldn't add any new ones in the Plasma 5 timeframe. Isn't the inhibition in this applet identical to the inhibition in the battery & brightness applet? If so, we don't really need to care about handling the case where inhibition changes but there are no KScreen applets. > Data engines are on their way out and won't be in Plasma 6, BTW. I wouldn't add any new ones in the Plasma 5 timeframe. Yes, but meanwhile… > Isn't the inhibition in this applet identical to the inhibition in the battery & brightness applet? If so, we don't really need to care about handling the case where inhibition changes but there are no KScreen applets. There is one data engine already, it's called powermanagement. New function can be added to it. Why not? Sure, we can do that, as long as we accept that we'll have to port away from it in favor of something else for Plasma 6. |