-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2011-09-13 02:11, Rouslan Korneychuk wrote: > > I noticed that the taskbar plugin creates a GtkToggleButton for every > task. Since every button has the same geometry, is spaced uniformly > and only one can be acted upon at a time, this seems redundant > (especially considering that each button is actually a container for > more widgets). > > Would the LXDE community be interested if I implemented a version > that uses a single widget (not counting the pop-up menus and > tool-tips) that manually draws all the buttons. I already made a > little demo to gauge how difficult it would be (not very). It would > look and act exactly the same as the current taskbar (including > proper tool-tips, raising a window with drag-and-drop and focus > support for when lxpanel is made keyboard navigable), except icons > will be drawn with half opacity for minimized windows and will be > clipped inside the button instead of spilling out to the right when > the buttons are too short to encompass the icon (from e.g. having too > many windows open), and to activate a button, it will have to be > pressed and then released while the cursor is still over the button, > like everywhere else. I have been using the source code for GtkButton > as a guide to make sure the buttons will look right regardless of > widget theme. > > One internal change will be that the list of open windows will > managed by a single object shared between each taskbar instance > (which is especially useful with my recent multi-monitor patch). > > The only issue I foresee is support for older versions of GTK and > related libraries. Either someone else will have to update the code > for that or someone will have to offer me a little guidance on it.
You had me at performance enhancement. But seriously; if you can do something (branched) and someone can build and test and do measures I am all for it. Don't get over the top dirty with this before someone confirms that they can work with you. If there are no gain in doing the change I don't think it's wort it really. (yes, getting code easier to read is a important measure point for me. so that is also relevant. performance first though.) - -- brother http://sis.bthstudent.se -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJObz+5AAoJEJbdSEaj0jV78vcH/3nFmoIuigLpfQn0U9en9Wit jonEv1fJbmB6DCL4LFokEdodAihNMw74ybnIitYxSGfb7p9FEyJ0hFrFPMkDBW3P 9YpNBExWDoYNiGLyAQYWuLFS14CNGoYe2QqcjYqeNtKwgxRLPbDz5jbOh68o0pj3 rDum25X22iydeoTSM3wGYmi22YnlIrrQLWH0/IwpweMlzWGksJ/CMJrSokaAZf37 7fEh2zvAfP65XNzFiIj5vB1X4aVcsOZm0cirDMw7oeKhUP5x3p1WwbnRMGu/zt8I 8q9+jmdiZHDuxEgnld63d2UkoVIUwW56nRLh9+buu/XTKCxjJk9Aie0FVMlkDpo= =Letm -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Lxde-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lxde-list
