Bugzilla – Bug 1273
Metadata Editor: Closing/cancelling editor when a cell is open requires two clicks (and asserts on Linux)
Last modified: 2018-08-20 11:51:48 UTC
Created attachment 654 [details] backtrace for assertion Regression on 2.1.1. This replaces bug 1259 which was a partial description.
*** Bug 1259 has been marked as a duplicate of this bug. ***
As of today I cannot reproduce the assertion (step 2) on Ubuntu 14.04 in release builds. I can still reproduce the two clicks required to close the Metadata Editor on El Capitan (step 1).
Since the Linux problem was not reproducible, I will close this, having fixed the Mac problem. I was careful to restore the ESC key behavior too of version 2.1.1. Commit comments: Bug1273: Restore 2.1.1 behavior of Metadata editor OK, Cancel, ESC... Click twice on a grid cell; Cancel or OK dismiss the dialog. But ESC does not, and a second ESC does not either. ESC dismisses the dialog only if the focus is not in the grid. https://github.com/audacity/audacity/commit/c1ca055fa4fc42b382874de40f2d72f46becd92b
Testing on c9422aa 08Jul16 on Mac El Capitan Clicking the OK or Cancle button now returns the user fortwith to the main SAudacity window, succesfully dismissing the Metadata editor dialg - looks to be fixed ok on Mac
Tested at 396a6f0 from audacity/audacity on Linux. Works correctly (closes on first click keeping the entered value, no backtrace), so flagging this as Test-OK-Lin.
(In reply to Paul L from comment #3) > Since the Linux problem was not reproducible, I will close this, having > fixed the > Mac problem. I was careful to restore the ESC key behavior too of version > 2.1.1. Commit comments: > > Bug1273: Restore 2.1.1 behavior of Metadata editor OK, Cancel, ESC... > > Click twice on a grid cell; Cancel or OK dismiss the dialog. But ESC > does not, > and a second ESC does not either. ESC dismisses the dialog only if the > focus > is not in the grid. > > https://github.com/audacity/audacity/commit/ > c1ca055fa4fc42b382874de40f2d72f46becd92b This has affected the behaviour on Windows, and introduced a bug. If the grid is the focus, and you haven't got a cell open for editing, then pressing ESC should close the dialog. A user opens the dialog, immediately presses ESC to close the dialog, but it doesn't close as it should.
(In reply to David Bailes from comment #6) > (In reply to Paul L from comment #3) > > Since the Linux problem was not reproducible, I will close this, having > > fixed the > > Mac problem. I was careful to restore the ESC key behavior too of version > > 2.1.1. Commit comments: > > > > Bug1273: Restore 2.1.1 behavior of Metadata editor OK, Cancel, ESC... > > > > Click twice on a grid cell; Cancel or OK dismiss the dialog. But ESC > > does not, > > and a second ESC does not either. ESC dismisses the dialog only if the > > focus > > is not in the grid. > > > > https://github.com/audacity/audacity/commit/ > > c1ca055fa4fc42b382874de40f2d72f46becd92b > > This has affected the behaviour on Windows, and introduced a bug. > If the grid is the focus, and you haven't got a cell open for editing, then > pressing ESC should close the dialog. A user opens the dialog, immediately > presses ESC to close the dialog, but it doesn't close as it should. Open bug for this: http://bugzilla.audacityteam.org/show_bug.cgi?id=1550
RESOLVED - FIXED: problems in this bug now fixed but I agree bug 1550 is a problem. I was not intending to hold up the entirety of the 2.1.1 grid behaviour on Mac as what we wanted.