Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-09

Exiting througth the Dock icon in Carbon

9 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Felipe Monteiro de Carvalho

Hello,

In Lazarus with Carbon, when I right-click the Dock icon it quits.

In my own application, nothing happens. Any ideas? How is the handler for that implemented?

My application has no main form. It stays in the menubar extras until called when it displays a magnification glass in the screen.

thanks,

Felipe Monteiro de Carvalho

Reply by email

zeljko
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
Sorry, I forgot that my application is built using Qt =) When building with Carbon the exit button works normally.

Dock Icon ? When I right click there's popup menu where I can click Quit etc...(10.4.11) - but with *qt 4.4.2 snapshot* (if it applies to your problem).

Reply by email

Felipe Monteiro de Carvalho
to zeljko
zeljko wrote
Dock Icon ? When I right click there's popup menu where I can click Quit etc...(10.4.11) - but with *qt 4.4.2 snapshot* (if it applies to your problem).

Exactly. But when I click the "Quit" popup menu item nothing happens. I am also using the latest Qt.

Felipe Monteiro de Carvalho

Reply by email

zeljko
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 7 lines
On Thu, Sep 18, 2008 at 9:14 AM, zeljko wrote: > Dock Icon ? When I right click there's popup menu where I can click Quit > etc...(10.4.11) - but with *qt 4.4.2 snapshot* (if it applies to your > problem). Exactly. But when I click the "Quit" popup menu item nothing happens. I am also using the latest Qt.

Are you talking about Lazarus IDE icon or your application ? btw. 4.4.2 is officialy out, just get letter from Trolltech ;)

Reply by email

zeljko
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote 11 lines
On Thu, Sep 18, 2008 at 10:26 AM, zeljko wrote: > Are you talking about Lazarus IDE icon or your application ? > btw. 4.4.2 is officialy out, just get letter from Trolltech ;) My software: svn co https://magnifier.svn.sourceforge.net/svnroot/magnifier/trunk magnifier I have Qt 4.4.1. I could upgrade, but I don't think it will make much difference.

I'm afraid that I have to tell you that it doesn't work on Linux too. When start magnifier, and right click for the first time on trayicon, i can see menu , later nothing .... seem like a bug with TTrayIcon. MacOsX problem is same like yours.

Reply by email

zeljko
to Felipe Monteiro de Carvalho: My software: svn co https://magnifier.svn.sourceforge.net/svnroot/magnifier/trunk…
Felipe Monteiro de Carvalho wrote 11 lines
On Thu, Sep 18, 2008 at 10:26 AM, zeljko wrote: > Are you talking about Lazarus IDE icon or your application ? > btw. 4.4.2 is officialy out, just get letter from Trolltech ;) My software: svn co https://magnifier.svn.sourceforge.net/svnroot/magnifier/trunk magnifier I have Qt 4.4.1. I could upgrade, but I don't think it will make much difference.

here it is (for Mac). It's a qt bug

http://trolltech.com/developer/task-tracker/index_html?method=entry&id=208264

Reply by email

zeljko
to zeljko
zeljko wrote 16 lines
On Thursday 18 September 2008 15:54, Felipe Monteiro de Carvalho wrote: > On Thu, Sep 18, 2008 at 10:26 AM, zeljko wrote: > > Are you talking about Lazarus IDE icon or your application ? > > btw. 4.4.2 is officialy out, just get letter from Trolltech ;) > > My software: > > svn co https://magnifier.svn.sourceforge.net/svnroot/magnifier/trunk > magnifier > > I have Qt 4.4.1. I could upgrade, but I don't think it will make much > difference. here it is (for Mac). It's a qt bug http://trolltech.com/developer/task-tracker/index_html?method=entry&id=2082

Also linux problem comes from here:
http://trolltech.com/developer/task-tracker/index_html?method=entry&id=224498 this bug is fixed 17.09.2008 (latest 4.4.X snapshots). This is NOT fixed in 4.4.2 official release ...

Reply by email