treesheets icon indicating copy to clipboard operation
treesheets copied to clipboard

TreeSheets-e3b4ae2-x86_64.AppImage open link in browser does not work

Open edmundlaugasson opened this issue 4 years ago • 10 comments

  • enter link
  • try to open it in browser with F5 or via menus
  • link will be not opened

Using 64-bit Linux Mint 19.3 MATE with all updates.

edmundlaugasson avatar Mar 05 '20 23:03 edmundlaugasson

I have no idea how AppImage could cause this.. though I guess its kinda containerized, so who knows it blocks something?

Maybe @probonopd knows.

aardappel avatar Mar 06 '20 05:03 aardappel

I tested TreeSheets-e3b4ae2-x86_64.AppImage (January 29, 2020) with different browsers (Chromium, Firefox, Brave, Vivaldi) - no one works. At the same time e.g. from LibreOffice 6.4.1 Writer (also AppImage version) opening link with default browser works fine. Found keybinding change option but there is no search option, scrolling with mouse does not work - still looking (manually) that Open link in browser option.... Finally found it and there is F5 written but it does not work. At the same time tested http://strlen.com/treesheets/treesheets_linux64.tar.gz (September 2, 2019) and there works F5 to open hyperlinks fine. Sounds like I have to use that version as long as it works. Just thought that AppImage version is compact and more independent from system and therefore better to use. Also I thought that as AppImage version is newer then probably also better. But as I see several regressions with new development version, what AppImage is: link opening and keybindings (#152 ); then seems like it is necessary to take older version. It is also critical if I create file(s) with newer version then there might be not possible to take older version depending on possible incompatibilities between fileformat differences that might be between these two versions of Treesheets.

edmundlaugasson avatar Mar 07 '20 14:03 edmundlaugasson

Like I said, I have no idea how to debug AppImage specific issues.

aardappel avatar Mar 11 '20 23:03 aardappel

Like I said - in LibreOffice it works. I tested Writer but I guess in any other LibreOffice app it will work. I used also AppImage version. So I assume it is possible to get shortcut key(s) to work even in case of AppImage. As LibreOffice is also free and open-source project then perhaps can you communicate with each other. Or possibly any other project - https://www.appimagehub.com

edmundlaugasson avatar Mar 12 '20 16:03 edmundlaugasson

LibreOffice is not necessarily based on the same libraries so that doesn't say much.

aardappel avatar Mar 12 '20 17:03 aardappel

How does TreeSheets open links in the browser, can you point me to the code? Thanks.

probonopd avatar Mar 14 '20 10:03 probonopd

@probonopd here: https://github.com/aardappel/treesheets/blob/6d1b9920b39c1baedd2415780e153565d86ec46f/src/document.h#L1474

Function: https://docs.wxwidgets.org/3.0/group__group__funcmacro__misc.html#ga3ff36fe489da2a779248b56f283615ca

The reason why its not working may well lie in the Linux/GTK implementation of that function, which would require also debugging the wxWidgets code.

aardappel avatar Mar 14 '20 16:03 aardappel

Unfortunately I don't understand enough of wxWidgets to be of any real help here, sorry.

probonopd avatar Mar 14 '20 20:03 probonopd

Have to admit that on 10th April 2020 version of TreeSheets-c004b94-x86_64.AppImage still hyperlinks do not open in browser. Perhaps would be possible to communicate with LibreOffice developers - looks like they know how to get it to work as AppImage version of LibreOffice does open hyperlinks with browser. Or any other project at https://www.appimagehub.com/ or anywhere else where are these libraries used like in TreeSheets.

edmundlaugasson avatar Apr 17 '20 21:04 edmundlaugasson

@edmundlaugasson I don't have time for any of that, sorry.

aardappel avatar Apr 17 '20 21:04 aardappel