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

Can't quit using cmd-q with only dialog #569

Open
jsoref opened this issue Jan 4, 2018 · 16 comments
Open

Can't quit using cmd-q with only dialog #569

jsoref opened this issue Jan 4, 2018 · 16 comments
Assignees
Labels
bug Something isn't working

Comments

@jsoref
Copy link

jsoref commented Jan 4, 2018

image

macOS 10.13.1
TigerVNC 1.8.0

I should be able to Quit using cmd-q (or the menu item).
I can't because I haven't connected yet.
Instead, I have to use a mouse to hit the red gem (cmd-w doesn't work either...)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@CendioOssman
Copy link
Member

So it works once you are connected?

I don't have any macOS machines here right now, but I can have a look once I do.

@CendioOssman CendioOssman added the bug Something isn't working label Jan 5, 2018
@jsoref
Copy link
Author

jsoref commented Jan 5, 2018

I'm not sure actually. I think it does....

@CendioOssman
Copy link
Member

I see this with the official builds, but not my own builds.

@bphinz, I think you need to debug this. What version of FLTK are you using?

@bphinz
Copy link
Member

bphinz commented Jan 25, 2018

I believe that it's 1.3.4 but I will double check tonight. @CendioOssman, what version of OS X are your builds produced on?

@CendioOssman
Copy link
Member

We have our own build environment using gcc 5 and OS X 10.6 SDK.

@bphinz
Copy link
Member

bphinz commented Jan 25, 2018

I'm using the 10.6 SDK as well. I'll poke around tonight and see if anything is amiss.

@CendioOssman
Copy link
Member

We're using an older FLTK (basically 1.3.3 plus patches). Might be a later bug in FLTK...

@bphinz
Copy link
Member

bphinz commented Jan 26, 2018

Definitely using 1.3.4. Can you send me the patches you're applying?

@CendioOssman
Copy link
Member

I had a look and all our patches are just backports of stuff that is included in 1.3.4.

I'll try to do a test with 1.3.4 here and see if I get the same issue.

@CendioOssman
Copy link
Member

Yeah, I'm getting the same issue after upgrading to FLTK 1.3.4. So it seems to be a bug there.

@CendioOssman
Copy link
Member

I don't really have time to poke around with this right now. Could you check with the fltk devs, @bphinz?

@bphinz
Copy link
Member

bphinz commented Jan 29, 2018

Yes, I'll try to chase this down. I did a cursory check and didn't see any reports or google hits, but I'll post a question on the fltk dev forum and/or file a bug ticket.

@bphinz
Copy link
Member

bphinz commented Jan 29, 2018

I did find this in the 1.3.4rc3 changelog:

CHANGES IN FLTK 1.3.4rc3				RELEASED: Oct 31 2016

	Bug fixes and other improvements

	- Fix string truncation in fluid (STR #2722 continued).
	- MacOS: fix a small problem where the Command-Quit menu hotkey
	  may not work if Fl_Native_File_Chooser is used before any
	  window is shown.

But I haven't found any reference to the related changeset. Will probably have to do a diff between 1.3.4rc2 and 1.3.4rc3 to see what changed and if there's any relation to what we're doing (obviously we're not using a native file chooser before displaying any other window).

@CendioOssman
Copy link
Member

An luck pinpointing this?

@bphinz
Copy link
Member

bphinz commented Feb 5, 2018 via email

@CendioOssman
Copy link
Member

Maybe. Have you tried calling it early and see what happens?

And did you ask on the FLTK mailing list?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants