HackPlan / quark-shell-mac

Quark Shell for Mac helps web developers to create native-like Mac menubar app using HTML and JavaScript without writing any native code.
MIT License
910 stars 42 forks source link

Bug: single-click interactions require double-click #42

Closed luca-aurelia closed 9 years ago

luca-aurelia commented 9 years ago

Hi there,

Great project. Really appreciate the opportunity to use web standard technology to make native Mac apps. :)

To reproduce the bug:

  1. Click the "Play" button in Xcode. Xcode builds Quark Shell and automatically gives it focus.
  2. Click on a different app (e.g., Xcode, Chrome) to give that app focus.
  3. Click the Quark Shell app icon in the status bar again. Now it takes a double-click to interact with buttons instead of the expected single click. For example, I don't see a notification appear on my screen unless I double click the "Notification" button.

This problem doesn't arise if you click the Quark Shell app icon immediately after clicking the play button. This makes me think the bug appears when you click the Quark Shell app icon while another app has focus.

If you have any trouble reproducing the bug, let me know. I'd be happy to make a screencast or something.

xhacker commented 9 years ago

Sorry I can't reproduce the issue, can you elaborate more or make a screencast? Thanks!

luca-aurelia commented 9 years ago

Sure. Here's the screencast:

https://youtu.be/5ugnxxCsb6Q

It includes annotations explaining the problem.

luca-aurelia commented 9 years ago

Meant to include this earlier. System details:

screen shot 2015-06-07 at 5 48 49 pm

xhacker commented 9 years ago

@ctbailey: I get your point, but still can’t reproduce. I’m running 10.10.3 on exactly the same hardware. Have you installed any window/menubar management software?

luca-aurelia commented 9 years ago

Just upgraded to 10.10.3 and the problem went away.

I was getting this issue even when the project was exported from Xcode, though, so this would still affect users running earlier versions of OS X.

luca-aurelia commented 9 years ago

There's a chance it was an issue in Xcode or something that was resolved by the OS update.

xhacker commented 9 years ago

Thanks for the reply. Then I’d close this issue since it was an Apple issue and has already been resolved.

luca-aurelia commented 9 years ago

I don't think this issue should be closed. We only know it's resolved for users of 10.10.3. There's no guarantee that apps exported from Xcode on 10.10.3 will work properly on 10.10.2. We need to test that.

xhacker commented 9 years ago

Do you still have any 10.10.2 machines?

xhacker commented 9 years ago

I don’t think we have enough bandwidth to support all the old minor versions. As 10.10.5 has already been released, I’m closing this.