jira-cli icon indicating copy to clipboard operation
jira-cli copied to clipboard

Gtk-Message: Failed to load module "canberra-gtk-module"

Open khskekec opened this issue 2 years ago • 2 comments

Describe the bug After clicking enter to open an issue in the browser "Gtk-Message: 16:09:48.965: Failed to load module "canberra-gtk-module" appears randomly on the screen. Switching between the issues by using the arrow keys removes it again

Please provide following details

  1. JiraCLI Version:
    (Version="1.2.0", GitCommit="9d8a0afd75b68aa519367f93c240429117cc4090", CommitDate="2022-12-16T10:53:08+00:00", GoVersion="go1.18.3", Compiler="gc", Platform="linux/amd64")
    
  2. Are you using Jira cloud or on-premise jira server?
    SERVER INFO
Version:         1001.0.0-SNAPSHOT
Build Number:    100213
Deployment Type: Cloud
Default Locale:  en_US
  1. What operating system are you using? Also mention version.
    Ubuntu 22.10
    
  2. What terminal are you using? Also mention version.
    Alacritty  0.12.0-dev
    

To Reproduce

Steps to reproduce the behavior:

  1. Just open list of any issues: jira issue list
  2. Click on a row to open the issue in the browser
  3. See weird screenshot

Expected behavior View is not destroyed by gtk messages

Screenshots image

Additional context

khskekec avatar Jan 10 '23 15:01 khskekec

Hi @khskekec, I am not sure about this. This looks something specific to your system. I will leave this open for now in case others have similar issues and could help.

ankitpokhrel avatar Feb 13 '23 17:02 ankitpokhrel

When jira-cli opens a browser, it executes xdg-open on Linux, and it's up to the OS to know how to open a browser from that. In general, that means Firefox on Ubuntu.

This is a side effect of Firefox looking for a particular shared library when it starts up. It doesn't need the library.

Take a look at

for some things to try. This problem is outside of jira-cli's scope, tbh.

colindean avatar Aug 16 '23 20:08 colindean

Closing as this seems to be system dependent and out of scope of this project.

ankitpokhrel avatar Apr 06 '24 10:04 ankitpokhrel