As the title says, I want to move, clicking a button in task bar , a frameless window out and in of screen right edge .One way to achieve this under kde neon in QML
, is to create a PlasmaCore.Dialog{}
window and setting as flags
the Qt.X11BypassWindowManagerHint
only, so the window manager is bypassed.The problem with this solution is that, inside window, where i "append" some widgets in a ListView
, I can not have activeFocus
to TextArea
and I can not type anything there. The TextArea
gains activeFocus
only if I use as flags
the Qt.Popup
only without Qt.X11BypassWindowManagerHint
.
So is there an alternative solution of making the window sliding in an out from screen right edge without using the flags
of Qt.X11BypassWindowManagerHint
? In the below link is the code I am using now for sliding window:
https://gist.github.com/cgiannakidis70/8a0ea61d7f18e803381159d7456e2135
EDIT 1
After a lot trying and error I found that the use of flags
Qt.BypassWindowManagerHint
and Qt.Popup
do the trick.Now I can slide the window outside screen edge and also type in TextArea
inside a widget .