From kde-active Tue Nov 29 06:04:01 2011 From: Martin =?ISO-8859-1?Q?Gr=E4=DFlin?= Date: Tue, 29 Nov 2011 06:04:01 +0000 To: kde-active Subject: Re: Re: Re: TabBox based window strip Message-Id: <4582363.mLWsdnTuAg () martin-desktop> X-MARC-Message: https://marc.info/?l=kde-active&m=132254673516800 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============2275800850737229606==" --===============2275800850737229606== Content-Type: multipart/signed; boundary="nextPart18374781.1EEdjRQFLc"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable --nextPart18374781.1EEdjRQFLc Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Monday 28 November 2011 20:23:08 Martin Gr=C3=A4=C3=9Flin wrote: > On Monday 28 November 2011 18:38:27 you wrote: > > yep, it works really well, so much faster ;) looking at it makes it= really > > really wanting it for pa2. >=20 > yeah and there is still potential to improve. E.g. the Model get's re= created > whenever a window is removed (used to be the safest way for the effec= ts). > > only one minor glitch, the thumbnails disappear as soon they touch = the > > screen edge instead of going offscreen >=20 > I added a check to not render the thumbnails if they would overlap th= e > TabBox. It looked rather bad in the normal TabBox. Here it makes sens= e and > I could just add a property clip to control this. >=20 > > > And now to the fun stuff: > > > qdbus org.kde.kwin /TabBox start false > >=20 > > just little api nitpick: instead of start/close either start/stop o= r even > > better open/close just for symmetry >=20 > good point, I'll change to start/stop. I changed to open/close due to the fact that close was already used ins= ide the=20 code. >=20 > If the atoms are set on the desktop (sticky) and on the panel (sync) = I can > take care of the KWin parts. It needs adjustments in the Client class= and > TabBox. Not trivial but also not complex. I realized we only need one atom for the sticky window. Everything else= we can=20 do through DBus. I'll add another method: void openEmbedded(qulonglong wid, QRect geometry); This could be invoked by the panel and it connects to the tabBoxClosed(= )=20 signal which gets emitted when the user clicks an item. That way we don= 't have=20 to fiddle around with setting the atoms & co. Cheers Martin --nextPart18374781.1EEdjRQFLc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk7UddIACgkQqVXwidMiVroobwCgpHua7SGcEQwBfRG//r8ijImg EskAnj8aO7ex7CPSdYS6+S1yKLw5u6oB =GreE -----END PGP SIGNATURE----- --nextPart18374781.1EEdjRQFLc-- --===============2275800850737229606== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Active mailing list Active@kde.org https://mail.kde.org/mailman/listinfo/active --===============2275800850737229606==--