VisualVM
  1. VisualVM
  2. VISUALVM-325

SysTray plugin doesn't work correctly on Linux

    Details

    • Type: Bug Bug
    • Status: Reopened
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1
    • Fix Version/s: dev
    • Component/s: plugins
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: All

    • Issuezilla Id:
      325

      Description

      Steps:

      1/ Set the Hide when minimized mode
      2/ Minimize VisualVM window
      3/ Try to restore VisualVM window using the SysTray icon

      The window tries to restore to the state previous to minimized but due to a bug
      (awt/window system?) it's immediately minimized again. This makes it impossible
      to further use the running instance. The only solution is to restart VisualVM.

        Activity

        Hide
        jsedlacek added a comment -

        Fixed for VisualVM 1.2.

        /cvs/visualvm/plugins/systray/manifest.mf,v <-- manifest.mf
        new revision: 1.3; previous revision: 1.2
        /cvs/visualvm/plugins/systray/src/com/sun/tools/visualvm/modules/systray/SysTray.java,v
        <-- SysTray.java
        new revision: 1.5; previous revision: 1.4

        Show
        jsedlacek added a comment - Fixed for VisualVM 1.2. /cvs/visualvm/plugins/systray/manifest.mf,v <-- manifest.mf new revision: 1.3; previous revision: 1.2 /cvs/visualvm/plugins/systray/src/com/sun/tools/visualvm/modules/systray/SysTray.java,v <-- SysTray.java new revision: 1.5; previous revision: 1.4
        Hide
        cyhelsky added a comment -

        In my 1.2 it works on "fresh" VisualVM, but after I play with it a little it
        ceases to work. On the top of this usually after few attempts at restoring
        VisualVM from systray the icon in systray disappears and VisualVM is no longer
        accessible(but the java process is still running).

        Product Version = VisualVM 1.2
        Operating System = Linux version 2.6.31-16-generic running on amd64
        Java; VM; Vendor = 1.6.0_0; OpenJDK 64-Bit Server VM 14.0-b16; Sun
        Microsystems Inc.
        Runtime = OpenJDK Runtime Environment 1.6.0_0-b16

        btw I've tried running on JDK1.6_18 and the same thing happens.

        Show
        cyhelsky added a comment - In my 1.2 it works on "fresh" VisualVM, but after I play with it a little it ceases to work. On the top of this usually after few attempts at restoring VisualVM from systray the icon in systray disappears and VisualVM is no longer accessible(but the java process is still running). Product Version = VisualVM 1.2 Operating System = Linux version 2.6.31-16-generic running on amd64 Java; VM; Vendor = 1.6.0_0; OpenJDK 64-Bit Server VM 14.0-b16; Sun Microsystems Inc. Runtime = OpenJDK Runtime Environment 1.6.0_0-b16 btw I've tried running on JDK1.6_18 and the same thing happens.

          People

          • Assignee:
            jsedlacek
            Reporter:
            jsedlacek
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: