Main index > Usage problems > KDE 3.4.1 [SOLVED]

By colinnc (User), on Sun Jul 10 22:43:27 2005: KDE 3.4.1 [SOLVED].

The adesklets are being drawn behind my wallpaper, this is only happening when I run KDE. Everything is ok with other WM's. I am using version 0.4.10.

The changelog says that this bug has already been fixed? Anyone have any ideas?

I really hope to get adesklets working under KDE. I think it is much better than superkaramba because of the small amount of resources it uses.

Thanks,
Colin

By syfou (Core Developer & Desklet Author), on Mon Jul 11 00:16:15 2005.

To my best knowledge, adesklets 0.4.10 is working right with any KDE >= 2.1... (I mean that this is the first report I have stating the opposite, and that I saw a screenshot on lynux.org featuring adesklets under KDE recently).

This said, I must admit I integrated the patch "blindly" (without having a chance to test it for myself) from the initial work by forum member yogi77 -- It has been reported from him to work right on KDE 3.3.2, and I do not believe the overall structure of KDE did change since then regarding this.

What happens if you relaunch adesklets from a pseudo-terminal in KDE once the initialization if completely over? Is the situation still the same (no desklets shown on the desktop)?

By colinnc (User), on Mon Jul 11 00:39:36 2005.

After relaunching adesklets from konsole I can briefly see where the desklets are drawn then they disappear behind the desktop.

This is weird because under gnome and xfce, (which I believe both use a similiar display method for the desktop) everything works perfectly.

Thanks for your reply. Maybe someone has a solution. I'll post if I figure anything out.

By syfou (Core Developer & Desklet Author), on Mon Jul 11 01:24:03 2005.

Mmh... By what you say your diagnostic is good. You are right about Gnome and XFCE doing something similar to KDE (in fact they both use the same "nautilus detection code") -- to bad KDE is just different enough not to be detected right this time. I will try to find the time to install KDE 3.4.1 on a test machine somewhere to try this -- maybe would we have some luck asking yogi77 about it.

But maybe can you give me the indications I need? Could you post both the result of xprop and xwininfo when you click on your desktop, as well as the result of xwininfo -root -tree ? Yours,

By colinnc (User), on Mon Jul 11 13:02:12 2005.

I have e-mailed you the results.

By syfou (Core Developer & Desklet Author), on Mon Jul 11 14:09:39 2005.

As mentionned, I also need the matching interactive output of xwininfo when you click on the desktop. Pleae regenerathe the three input at the same time. In bash:

Code:


 (xwininfo -root && echo '***' && xprop && echo '***' && xwininfo && echo '***' && xwininfo -root -tree ) | tee wininfo.txt



Just click twice on your desktop, then email me again the content of wininfo.txt... Thanks,

By syfou (Core Developer & Desklet Author), on Mon Jul 11 14:54:04 2005.

Thanks, colinnc.

I hate when people do this... This always remind me of the CADT development model :lol: . They changed the structure again... I am busy now, but I will try to handle you a patch before friday. Since I am getting tired of all this non-standard tweaks (why can't developers just follow the EWMH?), I think I will just strip all the detection code out of the executable, and handle a ADESKLETS_ROOT variable... Do not worry, I will notify you by email.

By colinnc (User), on Tue Jul 12 00:55:11 2005.

Thanks for your help. I am really amazed at the support that you provide!!

I will be sure to promote this fantastic program whenever possible!

-Colin

By napoleone1981 (User), on Sat Jul 23 11:57:37 2005.

Hi,
I have the same problem with KDE 3.4.1 and adesklets 0.4.10. How you resolved the problem??
I searched for teh function xwindow_get_root_window(), but I don't have the xwindow.c file, so I don't know...

By syfou (Core Developer & Desklet Author), on Sat Jul 23 14:05:43 2005.

I haven't fixed it yet... It is pretty trivial but it takes time do do better than a hack, and I lack it; I will try my best to find it soon.

window.c is in the src/ directory of the adesklets bzip'ed tarball.

By yogi77 (Core Contributor), on Mon Aug 22 08:53:19 2005.

Hi again, it has been some time... :wink:

I'm running KDE 3.4.1 and adesklets without - no, not really without - problems.

@colinnc
Did you enable the following: control center -> desktop -> allow programs in desktop window ?
Do you have any "special themes" enabled?

@syfou
The adesklets are running fine, but the picture which is grabbed for the background seems to be the "wrong one". If I start adesklets, I get the (last running) desklets with a black background. When I disable and "re-enable" the option "show icons on desktop and then run adesklets again, the image is grabbed correctly (Reproducable: allways)...

By syfou (Core Developer & Desklet Author), on Mon Aug 22 17:29:52 2005.

yogi77, talking with colinnc, we determined a while ago that the window manager background structure changed somewhere around KDE 3.4.1, causing the fake root window detection routine for KDE to stop working out of the box. By your last message, I learn that the current structure of kwin is even slightly more complex, as it can apparently support an alternate, unspecified structure (no fake root window or previous KDE model, It would need to be investigated).

The fact that playing with the "show icons on desktop" makes adesklets grabbing behavior changes is unluckily a good indication something is fishy in the usage kwin does of the enlightment _XROOTMAP_ID ad-hoc specification in the "allow programs in desktop window" mode that adesklets rely on.

Thanks for the info. My initial plan to let the user specify the window id to be used as a root window from the command line still stands (see above), but I need to take the time to code it.

By colinnc (User), on Tue Aug 23 02:11:36 2005.

Yogi,

By using the "allow programs in desktop window option" I am able to get adesklets to display. I am getting the black background problem as you are but by following your directions I can get it to display properly.

Thanks for your help!! I can now ditch superkaramba.

By syfou (Core Developer & Desklet Author), on Tue Aug 23 02:23:19 2005.

collinnc,

you still have to toggle off/on manually a seemingly unrelated KDE setting on every new X session to get the pseudo-transparency right, or did I get yogi77's explanation wrong? Yours,

By yogi77 (Core Contributor), on Tue Aug 23 02:30:44 2005.

@colinnc
Great! I don't like superkaramba as well... So, we just have to get this minor thing fixed...

@syfou
As you wrote your comment, I remember looking at the sources and the drawing routines, that the const in the sources is _XROOTMAP_ID, but prop gave me an _XROOTPMAP_ID (as it is shown in your link). Shouldn't make any difference, shouldn't it...

By syfou (Core Developer & Desklet Author), on Tue Aug 23 03:20:26 2005.

yogi77 wrote:


As you wrote your comment, I remember looking at the sources and the drawing routines, that the const in the sources is _XROOTMAP_ID, but prop gave me an _XROOTPMAP_ID (as it is shown in your link). Shouldn't make any difference, shouldn't it...

Well, this is clearly a typo (corrected in repository, thanks). The function xwindow_updated_background() was initially made to be called from another context; this went unnoticed because the correct atom name is encoded in the unique calling function from adesklets.c.

By syfou (Core Developer & Desklet Author), on Mon Sep 12 14:41:26 2005, last edited on Tue Sep 13 13:35:35 2005.

adesklets 0.4.12 is now out. Both the code and documentation has been updated to reflect the current state of things (please throw an eye on the updated entries from the FAQ). KDE 3.4.1, 3.4.2 should now be correctly supported... Let me know what you think.

By jaspal kallar (User), on Tue Sep 13 09:05:23 2005.

I have KDE 3.4.1 and everything works if I do:

Code:

adesklets --kde
but not if I do:

Code:

adesklets
but there again, perhaps it supossed to only work with the --kde flag.

Thanks for the update!

/Jaspal.

By syfou (Core Developer & Desklet Author), on Tue Sep 13 13:42:25 2005.

jaspal kallar, thanks for the report.

jaspal kallar wrote:

But there again, perhaps it supossed to only work with the --kde flag.

Exactly.

In chapter 4 from the documentation, I wrote:


Please note that since adesklets 0.4.11, you usually must specify on the command line proper flags if you need fake root window detection
Yours,

By colinnc (User), on Thu Sep 15 02:28:40 2005.

Works perfectly!

Thanks for the great work!!


adesklets is proud to be hosted on:

SourceForge.net Logo

Back to adesklets.sf.net.