Image 01
profile-image

peacheskde

peacheskde peacheskde
Smooth Tasks

Plasma 4 Extensions by panzi 842 comments

Hey buddy I'm glad someone picked up on the old stasks. I like what you did with it.

I kinda played around with the source code quite a while back fixed a few bugs added some things but then I just forgot about it and lost interest.

Here's a link to the changes I made against stasks 0.5.1 and KDE svn.

http://pastebin.com/m6a4e8f3d

What I remember I think I fixed a flicker problem, some timing problems like updating the tooltip immediately when hovering over a new task item if the tooltip was already open rather than having a wait time, fixed a bad recursive QTimer bug, and grouped tooltips by desktop but with hardcoded vertical vs horizontal layout, turned the close button into a standard button activated on click, switch desktops and highlight the window automatically when hovering over tooltip. I wanted to add unminimizing minimized windows to this too eventually.

Take a look and see what I mean. It did have some bug sometimes disappearing the tooltip after highlighting some for some reason I never looked into. Anyway hopefully you can take some things or ideas from there.

Hey you have a poll about the grouping. I'd rather have a lot of options all in, myself so each gets their own preference than only having one choice. That's just me. - Oct 01 2009
STasks

Plasma 4 Extensions by mbaszczewski 445 comments

Ok, to get composited tooltips:

--- ../stasks-0.5.1/applet/stasks_tooltip.cpp 2009-03-21 15:37:38.000000000 -0600
+++ applet/stasks_tooltip.cpp 2009-05-31 16:56:45.000000000 -0600
@@ -75,6 +75,7 @@ class CloseIcon : public QLabel

STasksToolTip::STasksToolTip(int size, QWidget *parent) : QWidget(parent)
{
+ setAttribute(Qt::WA_TranslucentBackground);
setWindowFlags(Qt::ToolTip);

m_size = size; - May 31 2009
STasks

Plasma 4 Extensions by mbaszczewski 445 comments

Hey consider this feature! :P

= A special configurable task item that can pop up a preview tooltip that shows every window from every desktop in a grid, one row for each desktop.

Then the staskbar can work well with option to show-only-current-desktop or even have a new option to show-none and just have this special task.

= Good space saver and quick access! - May 31 2009
STasks

Plasma 4 Extensions by mbaszczewski 445 comments

I figured out why I get black borders around my tooltips. They're not being composited. The second picture in the preview here looks like it's being composited with the background.

Anybody else have a problem with the tooltip background/border not being composited? - May 31 2009
RamMeter

Plasma 4 Extensions by Israphel 10 comments

Doesn't install in KDE SVN:
# plasma-desktop
....
plasmapkg(29264)/kdecore (kdelibs) KTempDir::create: KTempDir: Temporary directory created : "/tmp/kde-user/plasmapkgcvkIqH/"
plasmapkg(29264)/libplasma Plasma::Package::installPackage: No metadata file in package "/tmp/kde-user///100173-RamMeter.skz"
plasmapkg(29264)/kdecore (kdelibs) KTempDir::removeDir: "/tmp/kde-user/plasmapkgcvkIqH/"
Installation of /tmp/kde-user///100173-RamMeter.skz failed.
plasma-desktop(27563)/knewstuff (api): Command failed - May 24 2009
Smooth Tasks

Plasma 4 Extensions by panzi 842 comments

The KDE default task manager now has a "Peek" like effect working with the "Highilght Window" desktop effect. It works by using a special window manager KDE property or something. I don't know what KDE release version has or will have it soon, but it's in SVN. Take a look. - May 24 2009
STasks

Plasma 4 Extensions by mbaszczewski 445 comments

Hey the tooltip popup has a black border around it. Now with Air theme, it is out of place. Just curious if this hard coded or my theme is incomplete or set up incorrectly.

Hey when you start working on this again, I have a suggestion for the Tooltip popup: make the Close button highlight on mouse over. It will look great. ;)

Oh, and the Desktop Effects now has highlight application being hovered like I think Windows 7 Peek is what it's called. That could be quite cool. :)

Oh and put this on a SVN somewhere. I have a feeling this will around a while and get some great improvements over time! - May 24 2009
STasks

Plasma 4 Extensions by mbaszczewski 445 comments

Thanks so much. That was desperately needed. - May 24 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Sorry I put wrong qt-copy. It's r964678.

I also compiled like so:

configure -qt-gif -debug -fast -no-exceptions -no-separate-debug-info -system-libpng -system-libjpeg -system-zlib -dbus -webkit -no-phonon -plugin-sql-mysql -nomake examples -nomake demos -prefix $QTDIR - May 08 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Oh and separately, I run Firefox with Bespin (using qtconfig to set style to system), and there are line drawing artifacts with on the tabs in tabbar with multiple tabs open. - May 08 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

on KDE trunk r965053, qt-copy 960517, bespin r466 run: "kfmclient open ."

gets:

ASSERT failure in QSettings: "empty key", file /opt/kde/trunk/src/qt-copy/src/corelib/io/qsettings.cpp, line 309

backtrace:
#2 0x00007f7f631448f1 in qt_message_output (msgType=QtFatalMsg, buf=0x72f388 "ASSERT failure in QSettings: \"empty key\", file /opt/kde/trunk/src/qt-copy/src/corelib/io/qsettings.cpp, line 309")
at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2017
#3 0x00007f7f63144a1b in qFatal (msg=0x7f7f632919a8 "ASSERT failure in %s: \"%s\", file %s, line %d") at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:2216
#4 0x00007f7f63144a6f in qt_assert_x (where=0x7f7f632da83b "QSettings", what=0x7f7f632da831 "empty key", file=0x7f7f632da6e8 "/opt/kde/trunk/src/qt-copy/src/corelib/io/qsettings.cpp", line=309)
at /opt/kde/trunk/src/qt-copy/src/corelib/global/qglobal.cpp:1794
#5 0x00007f7f6320534f in QSettingsPrivate::actualKey (this=0x76f540, key=@0x7fff6cde0c70) at /opt/kde/trunk/src/qt-copy/src/corelib/io/qsettings.cpp:309
#6 0x00007f7f632053b6 in QSettings::value (this=0x72e360, key=@0x7fff6cde0c70, defaultValue=@0x7fff6cde0430) at /opt/kde/trunk/src/qt-copy/src/corelib/io/qsettings.cpp:3359
#7 0x00007f7f5bbce76a in Bespin::Style::readSettings (this=0x7c25a0, settings=<value optimized out>) at /home/kdefanboy/Temporary/OSS/cloudcity/init.cpp:164
#8 0x00007f7f5bbceb50 in Bespin::Style::init (this=0x7c25a0, settings=0x0) at /home/kdefanboy/Temporary/OSS/cloudcity/init.cpp:451

===
looks like QCoreApplication::arguments() is empty - May 08 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Ah, good, you're right. It works pretty well now anyway :)

You know it occurred to me another bug I was going to report on KDE that maybe has to do with bespin instead in icon selection dialog.

For example, in Dolphin => left side Places panel => edit entry => choose icon

I made two screenshots to look at. Sometimes when this icon dialog is opened, the upper right drop down list box is simply empty and grayed out:
http://imagebin.org/index.php?mode=image&id=46634

Other times, it's so short that item text is not readable from all the '...'.
http://imagebin.org/index.php?mode=image&id=46635

I will see what you think. - Apr 23 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Thanks for checking! - Apr 22 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Ah..I should have mentioned it. Now, my last updates are (still see it):

trunk:
KDE r957442
qt-copy r942603
bespin r451

KDE repo qt-copy is patched Qt 4.5.0, of course. - Apr 22 2009
Bespin

Be-Shell/Bespin by thomas12777 1663 comments

Love this style. A++!

There is a bad problem in svn Gwenview. In browse mode, it has a Sidebar with 3 tabs: Folders, Informations, and Operations. But with bespin svn, only Folder tab shows up and the text label for the tab is empty.

I tried changing some different options but couldn't get to display properly.

Can anyone confirm? - Apr 21 2009