xiota / geany-preview

Turns Geany into a markdown editor by providing a preview pane in the sidebar to show the formatting of several light-weight languages as they are edited. Supported document types include AsciiDoc, DocBook, Fountain, HTML, LaTeX, Markdown, MediaWiki, reStructuredText, Textile, and Txt2Tags.
GNU General Public License v3.0
15 stars 0 forks source link

Preview can't be deactivated in the list of plugins #51

Closed ralf3u closed 7 months ago

ralf3u commented 8 months ago

Steps to reproduce open Geany in the menu: Tools, Plugin Manager search for Preview deactivate Preview

Result Geany is crashing

System Lubuntu 23.10

ralf3u commented 8 months ago

Just for information: The plugin Lua Script can be deactivated.

xiota commented 8 months ago

On my computer, using Geany 2.0, both plugins load and unload as expected. Ubuntu 23.10 uses Geany 1.8, so may have a bug that has already been fixed.

ralf3u commented 8 months ago

So, I will test the issue with Lubuntu 24.04. Geany 2.0 should be part of it. I'll leave the issue open until then.

xiota commented 7 months ago

I am somewhat able to reproduce this now, but do not know the reason for the crash.

xiota commented 7 months ago

The problem seems to be that link-time optimization is now enabled by default. There's a new build 0.0.7 in the PPA that should have it turned off. Let me know if that fixes the crashing.

Looks like the PPA might have stay around a bit longer than I'd like...

ralf3u commented 7 months ago

Let me know if that fixes the crashing.

Now I can deactivate the plugin Preview in Geany 1.38.

ralf3u commented 7 months ago

That was today the answer in the terminal after an update:

W: Failed to fetch https://ppa.launchpadcontent.net/xiota/geany-plugins/ubuntu/dists/mantic/InRelease  Could not connect to ppa.launchpadcontent.net:443 (2620:2d:4000:1::81), connection timed out Could not connect to ppa.launchpadcontent.net:443 (185.125.190.80), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
xiota commented 7 months ago

Probably temporary connection problems. Nothing I can do about it. You can try downloading the files from the PPA webpage:

https://launchpad.net/~xiota/+archive/ubuntu/geany-plugins/+packages

ralf3u commented 7 months ago

Probably temporary connection problems.

Right. Today there is no problem during updating.

xiota commented 7 months ago

@ralf3u FYI, PPA is updated with following...

ralf3u commented 7 months ago

Geany and Geany Plugins 2.0

I think that you mean Geany 2.0. Indeed now in Lubuntu 23.10 I can see that it is Geany 2.0. So, I will test switch-views in Geany 2.0 the next days in Lubuntu 23.10.

ralf3u commented 7 months ago

PPA is updated with following ... Geany and Geany Plugins

Does that mean that I don't need to execute the following line in the terminal any more because when I install the PPA, there will be automatically Geany and Geany Plugins?

sudo apt install geany geany-plugins
xiota commented 7 months ago

I think sudo apt update ; sudo apt upgrade should take care of it.