Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » TrayIcon does not work correctly with GTK backend.
TrayIcon does not work correctly with GTK backend. [message #41784] Mon, 20 January 2014 11:16 Go to next message
Oblivion is currently offline  Oblivion
Messages: 1091
Registered: August 2007
Senior Contributor
Hello,

TrayIcon blocks the U++ applications (windows and widgets does not respond to any mouse or keyboard actions, application simply freezes) when used with the GTK backend.

So neither Eyecare nor any other app using TrayIcon works when compiled with the GTK backend. (As a side note, Eyecare has timer problems on other backends too).

Tested on Arch Linux (linux 3.12-8, KDE 4.12.1, GTK2 2.24.22)

Regards.


[Updated on: Mon, 20 January 2014 11:17]

Report message to a moderator

Re: TrayIcon does not work correctly with GTK backend. [message #42110 is a reply to message #41784] Thu, 20 February 2014 20:08 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1091
Registered: August 2007
Senior Contributor
Update:

On GTK backend, trayIcon behaves correctly if it is simply instantiated within a window and not put into its own event loop (without TrayIcon::Run(), I mean). gtk_main() seems to block the windows if the TrayIcon::Run() is invoked. For example, the EyeCare example and its trayicon works again as expected if I call EyeCare::Run() (after necessary albeit small corrections done in code)


Regards.


[Updated on: Thu, 20 February 2014 20:11]

Report message to a moderator

Previous Topic: Issue with ToolWin
Next Topic: Chameleon background/paper skinning for TopWindow
Goto Forum:
  


Current Time: Thu Mar 28 12:45:59 CET 2024

Total time taken to generate the page: 0.00873 seconds