Giter Club home page Giter Club logo

Comments (4)

frlan avatar frlan commented on July 28, 2024

Is only the Make-menu-item effected by this? Do you see any output in Debug (Help->Debug) or while starting Geany from prompt?

from geany-plugins.

BenWiederhake avatar BenWiederhake commented on July 28, 2024

All "Make" menu-items are affected when the bug is triggered.

I will look at Help->Debug the next time this happens. For the record, in the current run (where the bug hasn't triggered yet), I see several "INFO" lines, so Help->Debug works and there do not seem to be any warning or errors so far.

I always start Geany from a command-line, and never see any warnings or errors. I am not sure which application causes the following warning (a standard warning that seems to be aimed at certain GTK-devs), so it may or may not be Geany.

(process:31772): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

EDIT: Googled and explained the warning

from geany-plugins.

BenWiederhake avatar BenWiederhake commented on July 28, 2024

I believe I found the core issue: geany really doesn't like Makefiles that spawn daemons, e.g. contain a target that executes program & or similar.

Workaround: as soon as the called program returns, geany can make again. In my case it's evince, which exits immediately if there already is another instance running (which then reloads the PDF in question), so this is very easy for me.

However, I believe that Geany should be able to make again as soon as make returns, so I do consider this a bug.

from geany-plugins.

b4n avatar b4n commented on July 28, 2024

However, I believe that Geany should be able to make again as soon as make returns, so I do consider this a bug.

I don't think so. I'm not so much knowledgeable about that, but AFAIK for the background jobs not to block Geany's spawning, it would require for Geany to inherit those children from the process it spawned, as they didn't deamonize themselves and need a parent.
I don't know what Geany could even do (portably, nonetheless) to achieve that, but I'm not quite sure it makes much sense to support that.

I understand your use case, but it seems fairly hacky to put that in the Makefile. I myself do something similar with Lilypond files, but have a separate (run) command to show the generated PDF, which doesn't have the problem you're facing.

from geany-plugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.