From kde-panel-devel Tue Feb 28 15:45:25 2017 From: Kai Uwe Broulik Date: Tue, 28 Feb 2017 15:45:25 +0000 To: kde-panel-devel Subject: [Differential] [Commented On] D4842: [System Tray] Listen to external collapse Message-Id: <20170228154520.26445.23827.5274F414 () phabricator ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=148829673601013 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--84f6c3f89d7444b491780869887eb82f" --84f6c3f89d7444b491780869887eb82f Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit broulik added a comment. Of course I meant the code in panel containment, but here it does expanded = false and that's what I wanted to listen to :) Plasmoid.onUserConfiguringChanged: { ... if (plasmoid.userConfiguring) { for (var i = 0; i < plasmoid.applets.length; ++i) { plasmoid.applets[i].expanded = false; } ... } But perhaps AppletInterface sees that we force expanded rep and then ignores that request. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D4842 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: broulik, #plasma Cc: mart, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol --84f6c3f89d7444b491780869887eb82f Content-Type: text/html; charset="ascii" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable View Revision=
broulik added a comment.

Of course I meant the code in panel contain= ment, but here it does expanded =3D false and that's what I wanted to = listen to :)

Plasmoid.onUserConfiguringChanged: {
    ...
        if (plasmoid.userConfiguring) {
            for (var i =3D 0; i < plasmoid.applets.length; ++i) {
                plasmoid.applets[i].expanded =3D false;
            }
        ...
}

But perhaps AppletInterface sees that we force expanded rep and then ign= ores that request.


REPOSITORY
R120 Plasma Workspace

REVISION D= ETAIL
https://phabricator.kde.org/D4842

EMAIL PREFERENCES
https://phabricator.kde.o= rg/settings/panel/emailpreferences/

To: <= /strong>broulik, Plasma
Cc: mart, plasma-devel, progw= olff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
--84f6c3f89d7444b491780869887eb82f--