This works perfectly, Christian. Thank you! On Wed, Nov 9, 2022 at 4:51 AM Christian Grün <christian.gr...@gmail.com> wrote:
> Hi Joe, hi Steve, > > Thanks to Michael’s initiative, a new snapshot is available that may > solve the problems you observed [1]. > > Your feedback is welcome, > Christian > > PS: BaseX 10.4 will be released before end of this month. > > [1] https://files.basex.org/releases/latest/ > > > > > On Wed, Nov 9, 2022 at 9:47 AM Michael Seiferle <m...@basex.org> wrote: > > > > Hi Joe, > > > > Hi list, > > > > > > > > I remember having a shared screen-screen-session with Christian not too > long ago, where we tried to pin down the issue and iirc “it worked back > then” — but obviously not for too long. It’s a rather odd behavior > > > > > > > > I fully agree with Joe, whether we click that little X or select Quit > from the menu bar, the app should fully close. > > > > > > > > We are looking into this again :-) > > > > > > You may follow my progress here: > https://github.com/BaseXdb/basex/pull/2149 > > > > > > Best > > > > > > Michael > > > > > > > > > > Von: BaseX-Talk <basex-talk-boun...@mailman.uni-konstanz.de> im Auftrag > von Joe Wicentowski <joe...@gmail.com> > > Datum: Mittwoch, 9. November 2022 um 01:21 > > An: Majewski, Steven Dennis (sdm7g) <sd...@virginia.edu> > > Cc: BaseX <basex-talk@mailman.uni-konstanz.de> > > Betreff: Re: [basex-talk] GUI doesn't quit on Mac > > > > As a Mac user, I do not generally expect closing a window via the red > window button to quit an app. With only a few exceptions (e.g., single > window only apps like the Calculator), closing any/all of an app's windows > will keep the app open; apps that remain open after their windows are > closed generally take a click on the app's Dock icon as a signal to open a > new window. > > > > > > > > But I do expect that selecting Quit via the menu bar will fully quit the > app. Respecting that Quit command is far more important than treating the > red window button as a request to Quit. > > > > > > > > A few times I've needed to restart my Mac to install a software update > or finish installing a piece of software. Typically, these processes > present the user with a dialog to trigger the restart, which, when > accepted, causes the OS to quit all open apps. In this scenario, BaseX > causes the restart to fail, because it will not quit when told, and the > restart will time out unless you find out how to quit it. (I use control-C > in the Terminal window where I ran the `basexgui` command.) > > > > > > > > I hope this sheds some light on the matter. Thanks! > > > > > > > > On Tue, Nov 8, 2022 at 3:11 PM Majewski, Steven Dennis (sdm7g) < > sd...@virginia.edu> wrote: > > > > It looks like it does exit, after a short delay, when closed by clicking > the red button on the window, instead of quoting from the menu. > > > > > > > > — Steve. > > > > > > > > > > > > On Nov 8, 2022, at 3:04 PM, Christian Grün <christian.gr...@gmail.com> > wrote: > > > > > > > > Thanks for the observation. Mac support was improved in general with > Java 11, but it still requires some OS-specific tweaks in the code. Our > current solution may not be complete enough to achieve the expected default > behavior [1]. > > > > > > > > I’m no Mac user, but does it make a difference if the GUI is quit a) via > the menu or b) the red icon? > > > > > > > > [1] > https://github.com/BaseXdb/basex/blob/main/basex-core/src/main/java/org/basex/gui/layout/BaseXLayout.java#L584 > > > > > > > > > > > > Joe Wicentowski <joe...@gmail.com> schrieb am Di., 8. Nov. 2022, 20:54: > > > > I've been experiencing this problem too on macOS (both 12 Monterey and > now 13 Ventura), installed via Homebrew, and started via the `basexgui` > command line command. > > > > > > > > On Tue, Nov 8, 2022 at 1:02 PM Majewski, Steven Dennis (sdm7g) < > sd...@virginia.edu> wrote: > > > > I’ve been having a problem for a while where after attempting to quit > the Mac GUI, it doesn’t actually exit and has to be force quit. I’m sorry I > wasn’t able to track how this tracks with MacOS / JDK / BaseX updates and > when it actually started happening. Wondering if anyone else has had this > issue, and whether it’s Mac specific or JDK version specific. > > > > > > > > > > > > MacOS 12.6.1 but problem goes back at least to earlier 12.6 versions > > > > Openjdk from home-brew install — currently openjdk/19.0.1, but was > happening on earlier versions. > > > > And the current and last several versions of BaseX > > > > > > > > — Steve M. > > > > > > > > > > > > >