FLTK logo

Re: [fltk.general] FLTK as an external dependency in Bazel?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: FLTK as an external dependency in Bazel? Manolo Jan 30, 2023  
 

Le lundi 30 janvier 2023 à 20:45:30 UTC+1, Greg a écrit :

On 1/30/23 11:16, Manolo wrote:

Problems to launch unbundled macOS apps from /tmp should be fixed with commit 1045538

    Oh wow, I didn't know unbundled macOS apps could work at all.

    Back in ye olde days running an unbundled app (just the executable, no .app directory)
    did all kinds of weird window behavior things.

    So that "works" now? Sounds great if so.
    I always thought that was kinda weird when it didn't work just because it couldn't
    find those minimal plist files.

===== reply ====
FLTK supports unbundled macOS apps. SInce macOS 10.13 (2017), FLTK needs to start
the event loop of unbundled apps differently than what it does for bundled ones:
        [NSApp finishLaunching];
vs
        [NSApp run];
This requires that FLTK detects at run time whether a bundled or unbundled app
is being started.That is done comparing two folder paths, and when the unbundled app
is /tmp/fltk/prog, the comparison became "/tmp/fltk" vs "/private/tmp/fltk" which
were detected as different although they actually refer to the same folder. Then,
the event loop starting means adequate for bundled apps was used, and blocked the app.
This is now fixed.

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/8dea607a-387d-4e83-86b5-b521c0886e22n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.