Bug 390184 - Don't force Scripter window to stay on top
Summary: Don't force Scripter window to stay on top
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Scripting (show other bugs)
Version: git master (please specify the git hash!)
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-10 00:10 UTC by Brendan
Modified: 2018-02-22 22:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan 2018-02-10 00:10:19 UTC
I am finding the auto-on-top of the scripter window a bit annoying. Could it not be set, or could it be a setting? I would prefer the scripter window to show up in the taskbar so I can switch to it that way or alt-tab to it.
Comment 1 Halla Rempt 2018-02-10 08:33:40 UTC
Um... I actually changed that this week to a tool window instead of a plain dialog because I found it rather irritating that it would show up in the taskbar, and be visible even if the krita main window wasn't visible.

We could make it an option, I guess.
Comment 2 Brendan 2018-02-10 22:49:54 UTC
I am on a laptop. My scripter window is wide enough that it obscures the rest of the krita window. It also means that if I switch applications - eg bash shell - the scripter window and its output disappears. So to get it back I first need to click the krita window, then click the scripter window to give it focus.
Comment 4 Halla Rempt 2018-02-22 08:39:56 UTC
Git commit e3b79666f6ebcf3a68f1531a5d61fef1ef39a51d by Boudewijn Rempt.
Committed on 21/02/2018 at 10:00.
Pushed by rempt into branch 'master'.

Don't force scripter to stay on top

Maybe we should make this an option though.

M  +0    -1    plugins/python/scripter/scripterdialog.py

https://commits.kde.org/krita/e3b79666f6ebcf3a68f1531a5d61fef1ef39a51d
Comment 5 Brendan 2018-02-22 22:02:47 UTC
"Maybe we should make this an option though. "

Wouldn't hurt. Stay on top could just be stored like the geometry. Ie: if stay on top set at close, then set self.setWindowFlags(QtCore.Qt.Tool | QtCore.Qt.WindowStaysOnTopHint) otherwise don't.