Bug 60242 - when greeter appears mouse pointer is reset to unthemed left_ptr
Summary: when greeter appears mouse pointer is reset to unthemed left_ptr
Status: RESOLVED NOT A BUG
Alias: None
Product: kdm
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdm bugs tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-22 21:56 UTC by Jurica Vukadin
Modified: 2008-05-19 17:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jurica Vukadin 2003-06-22 21:56:29 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2 
OS:          Linux

My mouse cursor theme is BlueGlass3D. When I fire up X, at first left_ptr from BlueGlass is shown. When the greeter appears, it resets the cursor to the old (and ugly) black standard XFree left_ptr. When I login, it changes back to my BlueGlass left_ptr. It happens with any cursor theme.
Comment 1 Oswald Buddenhagen 2003-09-06 21:57:31 UTC
if you're using HEAD, would you please try now? i changed something that might 
change the situation a bit, even though probably not fix entirely. 
Comment 2 Jurica Vukadin 2003-09-07 18:53:46 UTC
Updated HEAD, tried, it's still the same. 
Comment 3 Oswald Buddenhagen 2003-11-14 02:53:03 UTC
and now (3.2 beta 1 would be enough)?
what i'd expect:
- the first busy cursor is themed
- then an unthemed busy cursor flashes
- when the greeter becomes usable, a normal themed cursor appears
if this is not what happens, i have to do some research or better let somebody familiar with this xcursor stuff fix it ...
Comment 4 Jurica Vukadin 2003-11-17 23:26:37 UTC
still no change. tried with cvs-20031111
Comment 5 Oswald Buddenhagen 2003-11-22 16:49:32 UTC
stupid question ... is your qt compiled with Xcursor support?
Comment 6 Oswald Buddenhagen 2003-11-22 16:59:37 UTC
less stupid question: do you setup Xcursor via X resources (in which file?) or via the environment?
Comment 7 Oswald Buddenhagen 2003-11-22 17:33:07 UTC
ok, enough stupid questions, now _i_ tell _you_ what your setup is. :)=

the question whether qt is compiled with xcursor support is irrelevant, afaics.

you are exporting the XCURSOR_THEME variable prior to starting kdm. that's fine, but you have to tell kdm to preserve this variable by putting it into ExportList in kdmrc. as such, this is a configuration error and therefore i close the report as invalid.

one could put the Xcursor.theme resource into a file referenced by the Resources= key in kdmrc, but then the busy cursor at startup won't be affected.

other than that, some day kdm will have own Xcursor settings, see bug #66829.
Comment 8 Jurica Vukadin 2003-11-23 21:31:59 UTC
Regarding this bug that you closed as invalid, it seems that the solution you 
proposed haven't solved it. 
Sorry to dissapoint :(. I have done as you told, and appended the 
XCURSOR_THEME to the ExportList. Unfortunately, that didn't change a thing. 
Then I appended XCURSOR_SIZE to the ExportList, but again, you can guess the 
effect it had. The XCursor stuff on my machine is setup in the following 
manner. (Listing only the things I did to make it work globally in KDE, well, 
apart from kdm)
1. Unpacked the <anytheme>.tar.gz in $HOME/.icons
2. mkdir'ed the default directory
3. created the index.theme in the default directory containing:
[Icon Theme]
Inherits=<anytheme> (Blue in my case)
EOF
I remember that I hacked something up in the previous revisions of kdm 
regarding the cursor handling, but I can't find that code in the source 
anymore. Result of my hack was that  the cursor when outside of the greeter 
widget was themed, but remained unthemed when the cursor was in the greeter 
rectangle. But that's probably woth nothing anymore, because it seems you've 
changed the code beyond my recognition.
Comment 9 Oswald Buddenhagen 2003-11-23 22:31:06 UTC
> 1. Unpacked the <anytheme>.tar.gz in $HOME/.icons 
>
the location could be a problem. remember, that kdm is _not_ the root user, it does not know root's home directory - it only runs with uid 0. try installing into the global directory. for testing purposes, set the theme to redglass and see whether it works then.
Comment 10 Jurica Vukadin 2003-11-24 00:29:08 UTC
thanks for such a quick reply. that didn't make any difference either. BUT <tadaaam> :) putting "Xcursor.theme: Blue" in /usr/share/config/kdm/Xresources did make quite a difference. So that god damn bug or misconfiguration is finally over. thanks a lot.