Bug#765779: audacity: "An assertion failed!" when changing track volume or panning

Martin Steghöfer martin at steghoefer.eu
Sat Oct 18 15:24:16 UTC 2014


Dear Andoru,

thanks a lot for the bug report! :-)

With the upgrade to 3.0, wxWidgets enforces the correct usage of its API 
a lot more with asserts. So now, many bugs that were in Audacity before 
become visible as error messages (which themselves may cause even more 
undesired behavior, if they pop up in the wrong moment like here).

In this case it complains about capturing a cursor that is already 
captured. This happens in the track panel sliders because the sliders 
capture the cursor themselves (because they are also used in other 
places outside the track panel, where this is actually necessary), but 
the track panel also manages the cursor capturing because it needs it 
for other operations.

Fortunately, this has an easy fix: Simply prevent the sliders from 
capturing the cursor, if it's already captured (see patch attached).

Regarding the small buttons in the recovery window: This is due to a bug 
in upstream wxWidgets (http://trac.wxwidgets.org/ticket/16440). 
Unfortunately, my bug report (filed months ago) hasn't received a lot of 
attention. So we may have to think of a workaround for Audacity. If you 
want to help, you can compile the example I submitted in the upstream 
report and confirm the problem there, so at least the status can upgrade 
from "new" to "confirmed". Maybe that makes it receive a little more 
attention.

Cheers,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-cursor-recapturing-sliders.patch
Type: text/x-diff
Size: 1133 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20141018/cec5fb31/attachment.patch>


More information about the pkg-multimedia-maintainers mailing list