[ENH] Display Widgets on Top option#3038
Conversation
|
@ales-erjavec, can you take a look? |
fd08364 to
6b2c5db
Compare
Codecov Report
@@ Coverage Diff @@
## master #3038 +/- ##
=========================================
Coverage ? 82.37%
=========================================
Files ? 335
Lines ? 57811
Branches ? 0
=========================================
Hits ? 47621
Misses ? 10190
Partials ? 0 |
|
On macOS all windows with the |
| `Float Widgets on Top` menu option has changed. | ||
|
|
||
| Update the flag on existing widgets. | ||
| """ |
There was a problem hiding this comment.
Change this to a setter (def set_show_widgets_on_top(self, state):) record the state in an instance attribute, and use that instead of querying QSettings in __set_float_on_top, so the state is local to the workflow and not shared between them.
Serialize to QSettings on close, like other canvas settings
|
@ales-erjavec , state is now stored as an instance attribute in WidgetManager. |
|
Does not really achieve the goal completely on my system (using dwm :)), but I could get the desired functionality even before this PR (and can still). |
Issue
When Canvas gets focus, all widgets get hidden behind it
Description of changes
View -> Float Widgets on Top flag to show widgets on top of all other windows.