[solved] 0.96.4: No program is launched using items from Open with menu while in editing mode

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
juozas
Posts: 37
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

[solved] 0.96.4: No program is launched using items from Open with menu while in editing mode

Post by juozas »

Subject: 0.96.4: No program is launched while using items from Open with menu while in editing mode

XnView: MP 0.96.4 - 64 bit (earlier versions might be affected too)
OS: Ubuntu Linux 20.04 LTS - 64bit

Selecting any item from within Open with menu while in editing mode does not open any program. The item was added using Configure programs dialog and I confirmed it does exist in file system.

Effect: Program shown in Open with menu does not start. Error (/usr/bin/gimp: symbol lookup error: /usr/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates) is shown in console, the mentioned program works fine outside xnview, gimp were used here as an example, Same behavour when trying to use other menus that launch external programs such as menu item Visit Xnview Forum or Download new version button on updater when update is available, firefox error shown as below:
XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/usr/lib/x86_64-linux-gnu/libcairo.so.2: undefined symbol: FT_Get_Var_Design_Coordinates
Couldn't load XPCOM.


To reproduce:
1. Install XnViewMP to Ubuntu 20.04 LTS with latest updates
2. Install any other editor, configure XnView to lauch the editor via open with menu
3. Try to launch external editor while in editing mode
Actual behaviour (bug): Editor is not launched, error (above) is logged in console :bug:

Expected behaviour: Editor is launched, no error shown in console.
Last edited by juozas on Wed Jul 22, 2020 7:10 am, edited 1 time in total.
Сделано в СССР
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.96.4: No program is launched using items from Open with menu while in editing mode

Post by xnview »

Please remove XnView/lib/libfreetype.*
Pierre.
User avatar
juozas
Posts: 37
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 0.96.4: No program is launched using items from Open with menu while in editing mode

Post by juozas »

Removing libfreetype.* works, but as it was bundled with the DEB package, it might need to be removed from it and also the package should depend on system version of it instead (by adding it to deps section of the DEB file). Files bundled in installed version of package can be found by running dpkg -L xnview while in console.
Сделано в СССР
Post Reply