← Back to team overview

openjdk team mailing list archive

[Bug 1296051] [NEW] SystemTray does not work properly on mouse interaction

 

Public bug reported:

I have the problem, that the user interaction with the mouse does not
behave as expected (see attachement) in KDE.

I expect the following:
The frame pops up and button is clickable. On click there is a message at console.
Left clicks (single and double) on the tray icon does nothing. Right click opens the popup.
On minimizing the window it disappears (also from window list) and can be reshown by context of tray icon.
Right clicks on the button in the frame has no effect.

I see the following effect:
- After start the button is clickable and produces output. The icon opens the popup on right-clicking. (correct)
- On a single left click on the tray icon the button is no more clickable. A right click on the tray icon or the frame content brings up the popup. After that the button is clickable again.
- Minimizing hides the window. The window can be reshown via popup menu. (correct)
- The popup is no more reachable. After having minimized the window it cannot be brought back.

See also http://stackoverflow.com/questions/22561899/how-to-use-
systemtray-correctly-in-java.

I additionally installed sun java from sun.java.com and there everything
works (even if compiled with javac from openjdk). So it seems to be JRE
related.

Additional information:
Description:    Ubuntu 13.10
Release:        13.10
openjdk-7-jre: 7u51-2.4.4-0ubuntu0.13.10.1
kde-standard: 5:78ubuntu5
kde-workspace: 4:4.11.5-0ubuntu0.1

** Affects: openjdk-7 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Test program to show the issue"
   https://bugs.launchpad.net/bugs/1296051/+attachment/4037510/+files/TestTray.java

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1296051

Title:
  SystemTray does not work properly on mouse interaction

Status in “openjdk-7” package in Ubuntu:
  New

Bug description:
  I have the problem, that the user interaction with the mouse does not
  behave as expected (see attachement) in KDE.

  I expect the following:
  The frame pops up and button is clickable. On click there is a message at console.
  Left clicks (single and double) on the tray icon does nothing. Right click opens the popup.
  On minimizing the window it disappears (also from window list) and can be reshown by context of tray icon.
  Right clicks on the button in the frame has no effect.

  I see the following effect:
  - After start the button is clickable and produces output. The icon opens the popup on right-clicking. (correct)
  - On a single left click on the tray icon the button is no more clickable. A right click on the tray icon or the frame content brings up the popup. After that the button is clickable again.
  - Minimizing hides the window. The window can be reshown via popup menu. (correct)
  - The popup is no more reachable. After having minimized the window it cannot be brought back.

  See also http://stackoverflow.com/questions/22561899/how-to-use-
  systemtray-correctly-in-java.

  I additionally installed sun java from sun.java.com and there
  everything works (even if compiled with javac from openjdk). So it
  seems to be JRE related.

  Additional information:
  Description:    Ubuntu 13.10
  Release:        13.10
  openjdk-7-jre: 7u51-2.4.4-0ubuntu0.13.10.1
  kde-standard: 5:78ubuntu5
  kde-workspace: 4:4.11.5-0ubuntu0.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1296051/+subscriptions


Follow ups

References