Kicker Pager

Various KDE 1.-4. Improvements

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.0
Available as/for: -
Description:

Kicker Pager provides a desktop overview of your KDE virtual desktops. It aims to provide a more fully featured pager for the default Kicker panel.

My period of procrastination is over and I would like to develop Kicker Pager into future KDE releases. I really appreciate your ideas and feedback.
Last changelog:

17 years ago

Update: Fixed compilation errors.

0.3.1
---
REALLY resizes appropriately on smaller panels.
Cleaner configuration panel.
Configuration bugs (options not being saved).
Notification on desktop change (configurable).
Code cleanups.
Much needed attention and motivation...
0.3
----
Resizes appropriately on smaller panels.
Border / text colour is now configurable.
Migration to a seperate configuration file from KPager.
Added a right-click context menu, with a menu item to the "Multiple Desktops" configuration.
Few more code clean ups.

0.1 - 0.2
----------
Orientation and resizing updated with Kicker.
Compilation problems for KDE 3.1 fixed - it seems that the CVS KWin (kwin.h) API has changed slightly and isn't backwards compatible. When the current stable release is at that stage, I'll update Kicker Pager to take advantage of the new API.
Code cleanups.

0.1
----------
Initial Announcement (and headache).

WinterWolf

17 years ago

Don't forge tthere alrady is a bug report on bugs.kde.org (KDE's Bugzilla).

Vote for it here: http://bugs.kde.org/show_bug.cgi?id=56850

Report

techniq

17 years ago

One feature I'd like to see implemented is scrolling the wheeling changes desktops, just like the regular pager does. Also, I know its been mentioned, but to somehow find a workaround for the aspect ratio problem. Might even want to change the pager preferences some (really something to work on down the road) so to disable the veritcal/horizontal option depending on how the kicker is aligned. You can't use windows that are verically aligned on a horizontal kicker, unless you are using an amazing large custom size kicker.

As, a bug I noticed, which is more pager related, is that the preview doesn't always update properly, mainly with tabs in konqueror (kinda quirky). Just thought I'd mention it if you get time to look into it (is the original pager even maintained anymore?)

Report

uga

17 years ago

Thanks very much! You're so quick!
I just tested it in my newly updated kde from cvs... and it just works.

Report

rex

17 years ago

MDK 9.1 RPM here
http://www.kdelook.org/content/show.php?content=6727

Report

sourcexx

17 years ago

great work dude - and damn fast ;-)

rgds
marc'O

Report

echobucket

17 years ago

This is GREAT, in fact, I had a bug report on kde.org about the fact that the regular pager's colors are really ugly...

My main suggestion is to make it so that you can have the kickerpager on different sized panels and have it scale to the appropriate size..... it appears to be hardcoded to "normal" sized panels.

Also, a menu option to bring up the Multiple Desktop control panel thing like the old pager does would be a useability boost...

Report

C

epoch

17 years ago

The obvious issue with the resizing is maintaining the aspect ratio. I noticed the original KPager author hadn't actually implemented that yet, so it's something I will be looking into doing.

I'm not sure I undertsood your last suggestion? Do you mean, like being able to have four, five or six pagers?

Report

Richardve

17 years ago

You should rather use theme colors for that yellow rectangle, or even better: an inner bevel.

The yellow color will look bad with some themes (and color variations).

(not sure if the color is hardcoded but it looks like it, please excuse me if I'm wrong, haven't tried it yet)

Report

C

epoch

17 years ago

Well, I seem to have canned that compilation problem. It seems to be some differences in the KWin API from the lastest CVS and 3.1. In the end it's a rather ugly hack to the ./configure script and some minor code alterations but I'm pretty sure it will work.

It's 3am, so I haven't had a chance to test it on KDE 3.1 yet, I'll have to go and fire up another machine. I'll do it tomorrow, and have it released then too. I did some other work on it also.

Until tomorrow..

Report

C

epoch

17 years ago

New release uploaded. Enjoy.

Report

oldkerosen

17 years ago

yes, yes, yes.
Now, I enjoy it!
;-)
It works for SuSE 8.2 with KDE 3.1.2.
Good job! Please make sure the package will be included in the KDE 3.2 release!

Report

Datschge

17 years ago

Be sure to let it be included as additional Kicker applet in the upcoming KDE 3.2 as soon as it works well enough for you. =)

Report

uga

17 years ago

While uninstalling it I discovered that it removes "libkpager.la" also... well, I think that was already installed in my system by kpager, wasn't it?

I think I'll have a look at the code, and try to make a version for CVS so it reuses kpager's library

Report

C

epoch

17 years ago

I'll look at it today.

Report

uga

17 years ago

It doesn't seem to work here. The windows are always shown as if they were on the top-left part, and I cannot drag them at all.

Well, I'm testing this on CVS head, so that might be the problem, but it compiled without problems. Have you tested it with cvs version at all?

Report

oldkerosen

17 years ago

Hi
I think you're doing a good job; just some days ago I asked on KDE mailinglist if it is possible to modify the look of the minipage_applet to display on horizontal the desktopts even when kicker size is "normal" and "large".
I tried to compile it on my SuSE 8.2 box using KDE 3.1.2 and it failed.
Here is the logfile:
make all-recursive
make[1]: Entering directory `/temporar/kickerpager'
Making all in doc
make[2]: Entering directory `/temporar/kickerpager/doc'
Making all in .
make[3]: Entering directory `/temporar/kickerpager/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/temporar/kickerpager/doc'
Making all in en
make[3]: Entering directory `/temporar/kickerpager/doc/en'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/temporar/kickerpager/doc/en'
make[2]: Leaving directory `/temporar/kickerpager/doc'
Making all in po
make[2]: Entering directory `/temporar/kickerpager/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/temporar/kickerpager/po'
Making all in src
make[2]: Entering directory `/temporar/kickerpager/src'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -MT desktop.lo -MD -MP -MF ".deps/desktop.Tpo" \
-c -o desktop.lo `test -f 'desktop.cpp' || echo './'`desktop.cpp; \
then mv ".deps/desktop.Tpo" ".deps/desktop.Plo"; \
else rm -f ".deps/desktop.Tpo"; exit 1; \
fi
In file included from desktop.cpp:26:
kpager.h:79: error: syntax error before `*' token
kpager.h:118: error: `WindowInfo' is not a member of type `KWin'
kpager.h:118: error: template argument 1 is invalid
kpager.h:118: warning: ISO C++ forbids declaration of `m_windows' with no type
kpager.h:131: error: syntax error before `;' token
In file included from desktop.cpp:47:
desktop.h:98: error: syntax error before `*' token
desktop.h:100: error: `WindowInfo' is not a member of type `KWin'
desktop.h:100: error: invalid data member initialization
desktop.h:100: error: (use `=' to initialize static data members)
desktop.h:113: error: parse error before `*' token
desktop.h:115: error: parse error before `*' token
desktop.h:117: error: parse error before `*' token
desktop.h:119: error: parse error before `*' token
desktop.h:121: error: parse error before `*' token
desktop.h: In member function `int Desktop::id() const':
desktop.h:47: error: `m_desk' undeclared (first use this function)
desktop.h:47: error: (Each undeclared identifier is reported only once for each
function it appears in.)
desktop.cpp: In constructor `Desktop::Desktop(int, QString, QWidget*, const
char*)':
desktop.cpp:54: error: `m_name' undeclared (first use this function)
desktop.cpp:55: error: `m_bgSmallPixmap' undeclared (first use this function)
desktop.cpp:57: error: `m_bgPixmap' undeclared (first use this function)
desktop.cpp:58: error: `m_bgDirty' undeclared (first use this function)
desktop.cpp: In member function `virtual void
Desktop::mousePressEvent(QMouseEvent*)':
desktop.cpp:97: error: `WindowInfo' is not a member of type `KWin'
desktop.cpp:97: error: `info' undeclared (first use this function)
desktop.cpp:97: error: `windowAtPosition' undeclared (first use this function)
desktop.cpp: In member function `virtual void
Desktop::mouseReleaseEvent(QMouseEvent*)':
desktop.cpp:116: error: `WindowInfo' is not a member of type `KWin'
desktop.cpp: At global scope:
desktop.cpp:128: error: syntax error before `*' token
desktop.cpp:131: error: `pager' was not declared in this scope
desktop.cpp:131: error: `const QValueList&KWin::list' is not a static
member of `class KWin'
desktop.cpp:131: confused by earlier errors, bailing out
make[2]: *** [desktop.lo] Error 1
make[2]: Leaving directory `/temporar/kickerpager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/temporar/kickerpager'
make: *** [all] Error 2

Report

C

epoch

17 years ago

OK, well, I'll spend a portion of the day working out those bugs. I'll test it on another machine I have which is running 3.1, see what I can do. I'll probally release a second version later tonight.

Report

Yaba

17 years ago

Thank you very much.

Report

techniq

17 years ago

nice work, i'm in the process of compiling a daily snapshot now (been going for about 12 hours now). Going to check this out once its done.

This is one feature I always liked about enlightenment (being able to see a true preview of the desktop, not just outlines). The Pager is nice, but having it as an applet is just perfect. I also hope to see it in 3.2

Report

tuxraver

17 years ago

Just great! Thanks a lot! Let's hope that your work will find it's way into KDE 3.2!

Report

canon006

17 years ago

Wow, a whole 5 hours from the original idea being posted, good work!!

Report

kopkid

17 years ago

where did you get the wallpaper ... i like it

Report

C

epoch

17 years ago

Suprisingly enough you're at it.

Report

Cwiiis

17 years ago

In file included from desktop.cpp:26:
kpager.h:79: syntax error before `*' token
kpager.h:118: `WindowInfo' is not a member of type `KWin'
kpager.h:118: template argument 1 is invalid
kpager.h:118: warning: ISO C++ forbids declaration of `m_windows' with no type
kpager.h:131: syntax error before `;' token
In file included from desktop.cpp:47:
desktop.h:98: syntax error before `*' token
desktop.h:100: `WindowInfo' is not a member of type `KWin'
desktop.h:100: invalid data member initialization

There are many more errors after this, but I think they're just knock-on errors sorta thing... I'd look into it, but I can't be arsed :p Does this plug-in need the latest KDE or something? (I'm running 3.1.0)

Report

p0z3r

17 years ago

I get the same problems.. In fact, EPOCH here's a log of what it spits out for ya.. in case you wanna debug it for some reason!
-p0z3r

http://www.angelfire.com/geek/p0z3r/kicker.log.txt

Report

17 years ago

Update: Fixed compilation errors.

0.3.1
---
REALLY resizes appropriately on smaller panels.
Cleaner configuration panel.
Configuration bugs (options not being saved).
Notification on desktop change (configurable).
Code cleanups.
Much needed attention and motivation...
0.3
----
Resizes appropriately on smaller panels.
Border / text colour is now configurable.
Migration to a seperate configuration file from KPager.
Added a right-click context menu, with a menu item to the "Multiple Desktops" configuration.
Few more code clean ups.

0.1 - 0.2
----------
Orientation and resizing updated with Kicker.
Compilation problems for KDE 3.1 fixed - it seems that the CVS KWin (kwin.h) API has changed slightly and isn't backwards compatible. When the current stable release is at that stage, I'll update Kicker Pager to take advantage of the new API.
Code cleanups.

0.1
----------
Initial Announcement (and headache).

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.1
updated Apr 08 2004
added Jun 18 2003
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4