mvourlakos added a comment.
In https://phabricator.kde.org/D3355#64617, @mart wrote: > In https://phabricator.kde.org/D3355#64430, @mvourlakos wrote: > > > My only small problem is that I havent found a way to access the PanelView visibility variable in order to alter it automatically from my qml code or its c++ part. So the user must set correctly the Plasma Panel's visibility and my Magic Window visibility choice, especially in the "Always Visible" case... > > > when the user does "add panel" it executes a javascript file anyways no? so that js file can set up the needed default Nice idea! That would help a lot!! I tried in my layout javascript file to add: panel.visibilityMode = 2; //which corresponds to "LetWindowsCover" but didnt work, what did I miss? REPOSITORY rPLASMAWORKSPACE Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D3355 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: mvourlakos, #plasma, davidedmundson Cc: mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas