View Issue Details

IDProjectCategoryView StatusLast Update
0009187ardourbugspublic2023-04-16 15:09
Reporterautomaciej Assigned Tox42  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformApple MacintoshOSMacOSOS Version10.12 or later
Product Version7.2 
Summary0009187: Ardour doesn't react to mouse clicks about 50% of the time
DescriptionAlso reported on the forums: https://discourse.ardour.org/t/ardour-7-2-0-sometimes-not-reacting-to-mouse-clicks-in-osx/108111/1
Video showing the problem: https://photos.app.goo.gl/vvsJUacUFYWwHvav6

About half the time Ardour doesn't react to mouse clicks. Sometimes a wrong window is reacting to clicks, not the window where I'm clicking but the window underneath it. Sometimes when I click an element, a small border around the button appears as if the element was selected / the focus shifted to it. But when I release the mouse button, nothing happens. The element just remains selected.

Most of the time I am able to complete tasks by using keyboard shortcuts, mainly keyboard arrows, TAB, SHIFT+TAB, cycling through buttons and confirming with ENTER. But this is very time consuming. Sometimes just mashing keyboard makes Ardour "unblock" and it starts reacting to clicks for a few seconds. Then it stops reacting again.

My Ardour is virtually unusable, every smallest task takes three to five times more time to complete.

I'm running Ardour 7.2.0.
Steps To ReproduceJust install Ardour 7.2.0, create a new session, create a new track, try recording, etc. You'll find that buttons just don't react to clicks and you can't do anything - can't select track input, or can't switch the metronome on off, can't do anything what is behind a button.
Additional InformationMy Mac's details:

Model Name: iMac
  Model Identifier: iMac18,3
  Processor Name: Quad-Core Intel Core i7
  Processor Speed: 4.2 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 8 MB
  Hyper-Threading Technology: Enabled
  Memory: 40 GB
TagsNo tags attached.

Activities

automaciej

2023-01-01 21:34

reporter   ~0027158

I discovered one more factor: a USB mouse connected to my iMac. When I try to use Ardour with the original Apple mouse, the session jumps around uncontrollably, possibly because the top of the mouse works like a trackpad, and when I just brush the mouse's top, Ardour starts scrolling vertically or horizontally, or zooms in or out, or makes tracks bigger or smaller, it's really out of control.

So I switched off the Apple mouse and connected a regular PC mouse using a USB cable. Then the problems with the clicks started.

I also noticed one more symptom. When I'm in the mixer view, and I click the track input selection, and then hover over the list of inputs, normally the UI would highlight the item I'm hovering over. But not when I'm using a USB mouse. So the item highlighting and mouse clicks issues are somehow connected.

x42

2023-01-02 16:44

administrator   ~0027159

Thanks for that info.

I use Ardour on M2 (macbook Air) and do not have this issue. -- but I do not have any external gear and use the touchpad. I'll see if I can find some USB mouse that I can connect to the USB3 ports..
Another clue (GTK3 based) gimp has the same issue: https://www.gimp.org/news/2022/11/18/gimp-2-99-14-released/#pointer-click-bug-with-macos-ventura

x42

2023-01-03 03:33

administrator   ~0027160

I have started to backport some changes to work around the issue

https://gitlab.gnome.org/GNOME/gtk/-/issues/5305
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5280/diffs

With some luck Ardour 7.2-77 no longer has this issue. -- Please try that when tomorrow's builds are up.

It is still a bit of a mystery. I cannot reproduce the problem here on macOS 13.1, and for some users gimp 2.10 (also uses gtk2, same as ardour) works, too.
Maybe it is indeed related to an external non-apple mouse.

x42

2023-02-10 02:28

administrator   ~0027346

Can you still reproduce this with the current nightly build?

automaciej

2023-04-15 17:09

reporter   ~0027585

I don't remember if I tested with the nightly build at the time. In the meantime, I managed to disable the scrolling feature in the Apple mouse, so I could stop using the USB mouse and that worked around the issue. Today I tested it again with the USB mouse with rev 7.3-19-gb6f0e547bb and the problem is gone. Thank you!

Issue History

Date Modified Username Field Change
2023-01-01 20:44 automaciej New Issue
2023-01-01 21:34 automaciej Note Added: 0027158
2023-01-02 16:44 x42 Note Added: 0027159
2023-01-03 03:33 x42 Note Added: 0027160
2023-02-10 02:28 x42 Assigned To => x42
2023-02-10 02:28 x42 Status new => feedback
2023-02-10 02:28 x42 Note Added: 0027346
2023-04-15 17:09 automaciej Note Added: 0027585
2023-04-15 17:09 automaciej Status feedback => assigned
2023-04-16 15:09 x42 Status assigned => resolved
2023-04-16 15:09 x42 Resolution open => fixed