Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
CommandBox instances crashing because of TrayIcon rendering
Description
CommandBox 4.5.0 on Ubuntu Budgie 18.04 LTS has an issue with the tray icon.
I had server instances die on my all of a sudden after random amounts of short time. Slack conversation with @Brad Wood resulted in suggesting to switch of the tray icon because of previous issues on Linux distributions.
That solved the immediate issue, but the problem still exists. Starting with --console showed that die process crashes due to and X-Window server issue with the Java code (I assume coming from the runwar project):
The program 'java' received an X Window System error. This probably reflects a bug in the program. The error was 'RenderBadPicture (invalid Picture parameter)'. (Details: serial 2328 error_code 143 request_code 139 minor_code 7) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
Server's output stream closed. It's been stopped elsewhere.
Stopping server...
Activity
Show:
Kai KoenigNovember 19, 2019 at 9:35 PM
Edited
@Brad Wood Eventually got around to install 4.9.0-alpha (build from 5 days ago) and it works fine on Ubuntu Budgie 18.04.3.
The required apt dependencies were about 180MB for me
I think we can close this ticket with the caveat of the feature being there and tested for Ubuntu main and the budgie flavour and others… well, would have to report success or fail as they go.
Miguel MathusNovember 15, 2019 at 3:33 PM
The pull request has been created and merged for the installation docs
cc @Stephany Monge Checked 15/11/19
Brad WoodNovember 11, 2019 at 4:35 PM
@Miguel Mathus Can you please send a pull request to the docs for this information? Also, is there a way we can detect whether this package is installed from inside CommandBox?
Miguel MathusNovember 11, 2019 at 6:49 AM
Hello @Brad Wood yes it’s fixed for Ubuntu 18.04 and Ubuntu Budgie 18.04, but, its necesary to have libgtk2-appindicator-perlinstalled in order to ubuntu to show any tray icon. so please use the following command and restart the application:
sudo apt install libappindicator-dev
Brad WoodNovember 9, 2019 at 5:51 AM
@Miguel Mathus Does the latest version of Dorkbox System tray fix this?
@Kai Koenig Can you please give this a go on the CommandBox 4.9.0-alpha? We’ve updated the Java library that handles the system tray.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
CommandBox 4.5.0 on Ubuntu Budgie 18.04 LTS has an issue with the tray icon.
I had server instances die on my all of a sudden after random amounts of short time. Slack conversation with @Brad Wood resulted in suggesting to switch of the tray icon because of previous issues on Linux distributions.
That solved the immediate issue, but the problem still exists. Starting with --console showed that die process crashes due to and X-Window server issue with the Java code (I assume coming from the runwar project):
The program 'java' received an X Window System error.
This probably reflects a bug in the program.
The error was 'RenderBadPicture (invalid Picture parameter)'.
(Details: serial 2328 error_code 143 request_code 139 minor_code 7)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Server's output stream closed. It's been stopped elsewhere.
Stopping server...