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

Markdown: Context menu "Reload" does not work #946

Open
mirkoperillo opened this issue Jan 18, 2020 · 2 comments
Open

Markdown: Context menu "Reload" does not work #946

mirkoperillo opened this issue Jan 18, 2020 · 2 comments

Comments

@mirkoperillo
Copy link

I report this issue after a discussion in the user mailing list.
A context menu is shown when you click the right mouse button on the markdown preview panel.
It seems that the panel is produced by the libwebkit used by the plugin.
This is the piece of discussion on the mailing list

Correct, IIUC webkit is fed the data directly by the plugin, not by
saving a file, but having pretensions of being a browser webkit likely
still has a "home" location like most browsers do, and it tries to
reload that. If webkit allows that menu to be customised then if
someone wants to send a pull request to remove the useless menu entry
I'm sure it would be welcome.

Screenshot

geany-screen

@codebrainz
Copy link
Member

Note for future:

https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WebKitWebView-context-menu

It might be possible to actually make the reload option work though.

@codebrainz codebrainz changed the title libwebkit context menu shown in markdown plugin Markdown: Context menu "Reload" does not work Jan 18, 2020
@Skrrytch
Copy link

Skrrytch commented Jan 9, 2021

I have the same problem.
I get the error "Error opening file {path-tp-md-file}/index.html: No such file or directory"

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

3 participants