Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BROWSE action is not supported on the current platform error with Zeal and Debian #73

Open
machinekoder opened this issue May 31, 2018 · 25 comments

Comments

@machinekoder
Copy link

I get the following error message:
image
when I try to use the Dash plugin in CLion with Zeal under Debian.

Any ideas what could be the reason?

@machinekoder
Copy link
Author

@gdelmas
Copy link
Owner

gdelmas commented Jun 5, 2018

could this be #71

@leoarnold
Copy link

Got same on Kubuntu 17.10. Seems to duplicate #71 but installing libgnome2-0 sadly didn't fix it.

@machinekoder
Copy link
Author

I can confirm that installing libgnome2-0 does not help.

@machinekoder
Copy link
Author

I'm also using KDE 5

@IGotPaws
Copy link

IGotPaws commented Jun 9, 2018

I have KDE aswell and the same issue. No luck with libgnome2-0

@gdelmas
Copy link
Owner

gdelmas commented Jun 9, 2018

@leoarnold @machinekoder @IGotPaws have you tried installing libgnome 1.

@machinekoder
Copy link
Author

machinekoder commented Jun 10, 2018

@gdelmas Yes, libgnome-2-0. Note there is no libgnome on Debian

@leoarnold
Copy link

The relevant file here might be libgnome-2.so which comes with the package libgnome2-dev, yet that did not work for me either.

@leoarnold
Copy link

URL handling is registered correctly:

$ xdg-mime query default x-scheme-handler/dash-plugin
zeal.desktop

and

$ xdg-open dash-plugin://test

will launch Zeal as desired, so this is definitely somewhere in the Java

@leoarnold
Copy link

@gdelmas Would it be a viable option to drop usage of the Desktop API and go native instead like this? https://stackoverflow.com/a/18004334

@machinekoder
Copy link
Author

@leoarnold I'm all in favor of that. The official Java desktop API seems to be broken or outdated for everything other than GNOME2.

@gdelmas
Copy link
Owner

gdelmas commented Jul 1, 2018

as this appears to become more and more of a problem for several users surely there must be some solution. not sure if the stack overflow solution might create more problems. we had a direct call to zeal before. maybe we should revert this: df176d8

@gdelmas
Copy link
Owner

gdelmas commented Jul 1, 2018

just re-read the issue. zeal dropped support for --query so i guess this would not be a viable option.

@machinekoder
Copy link
Author

@gdelmas Maybe contact the JetBrains guys? I mean they must have some open system link functionality somewhere in the IDE.

@gdelmas
Copy link
Owner

gdelmas commented Jul 2, 2018

good idea. i'll ask them

@machinekoder
Copy link
Author

@gdelmas Any news on this topic?

@gdelmas
Copy link
Owner

gdelmas commented Sep 24, 2018

unfortunately not

@MateuszKowalewski
Copy link

It would be nice if this plugin would work on Linux.

A direct call should be fine. Zeal dropped the --query param, right. Instead it works just without it now!

$ zeal _SEARCH URL_ opens the doc browser from the command line.

Reverting df176d8 and removing line 36 in ZealLauncher.java should fix this issue most likely.

@des-mbischof
Copy link

It's not a solution but at least a workaround: installing version 3.2.5 worked for me.

@nre-ableton
Copy link

bump -- is there any update on this issue? I'd really love to see it fixed. If the solution proposed by @MateuszKowalewski is feasible, I'd be happy to submit a PR.

@gdelmas
Copy link
Owner

gdelmas commented Sep 3, 2020

@nre-ableton can you verify that what we were passing to zeal in the query param works without it as well please.

i guess it would be nice to still use the registered handler on systems that support that, but maybe we can fallback to just calling zeal. i guess the detection of the registered handler might be tricky as well. so maybe just falling back on the command line if an error is thrown might be good enough.

what do you think?

@nre-ableton
Copy link

@gdelmas I'm not exactly sure how to verify this, but I can verify that calling zeal test from the command line will open zeal with "test" as the search parameter. Likewise, calling xdg-open dash-plugin://test will open zeal, but with no query.

Is there something else you'd like me to test specifically?

@emcek
Copy link

emcek commented Mar 13, 2022

same here:

Operating System: Garuda Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.3
Kernel Version: 5.16.12-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 15,4 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

Any chance to fix this any time soon :/

@Upgreydd
Copy link

Upgreydd commented Nov 4, 2022

Have the same error - it looks like KDE is the problem. Can we call zeal some other way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants