Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, January 2008
QSystemTrayIcon.showMessage() is missplaced on the screen


Message 1 in thread

On my ubuntu pc (7.10) the showMessage balloon is not located on the 
tray icon, but rather missplaced somewhere on the top/left corner of the 
screen.

Is there a way around this ?

-=Børge Austvold


Message 2 in thread

Børge Nygaard Austvold wrote:
> 
> On my ubuntu pc (7.10) the showMessage balloon is not located on the 
> tray icon, but rather missplaced somewhere on the top/left corner of the 
> screen.
> 
> Is there a way around this ?

Hi Børge,

This is usually related to the window mananger more than the os. I've 
tried to reproduce this with latest compiz in the three settings off, 
normal and "esthetically pleasing" modes, and in all cases the 
positioning is correct. Same under KDE. Which window manager / version 
are you using?

-
Gunnar


Message 3 in thread

Børge Nygaard Austvold wrote:

> I'm using the metacity window manager and the bug can be reproduced with 
> or without the compiz gl desktop enabled. Please see the attached 
> screenshot.

This is rather strange, as we're using the same setup then.

Some things to check:

  * Could you try this with the qtjambi online webstart demos, and see 
if these reproduce this behaviour also?

  * If you have no other apps running, is the problem still present.

  * Could you run it on desktop 0, preferably without multiple desktops 
enabled.

  * Could you print out the value of QSystemTrayIcon.geometry() and 
check how that corresponds with the actual screen position.

best regards,
Gunnar