← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 2077979] Re: [SRU] Audacity 3.6.1: Waveform screen goes blank when zooming

 

Thanks for doing the upload on this @eeickmeyer.

I can confirm that installing the newly built audacity from oracular-
proposed does fix this issue:

$ sudo apt install audacity/oracular-proposed
Selected version '3.6.1+dfsg-1ubuntu0.1' (Ubuntu:24.10/oracular-proposed [amd64]) for 'audacity'
Selected version '3.6.1+dfsg-1ubuntu0.1' (Ubuntu:24.10/oracular-proposed [all]) for 'audacity-data' because of 'audacity'
...

I then ran and used audacity as normal for ~30 mins and did not observe
this bug (whereas previously within a couple minutes or less of normal
use I would observe it)


** Tags removed: verification-needed verification-needed-oracular
** Tags added: verification-done verification-done-oracular

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to audacity in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/2077979

Title:
  [SRU] Audacity 3.6.1: Waveform screen goes blank when zooming

Status in audacity package in Ubuntu:
  Fix Released
Status in audacity source package in Oracular:
  Fix Committed
Status in audacity source package in Plucky:
  Fix Released

Bug description:
  [ Impact ]

  Audacity 3.6.1 included a bug which caused the waveform to disappear
  when users zoom in and zoom out in the user interface. This is not
  only inconvenient but also breaks the entire user interface because it
  makes it impossible to work on anything as the entire user interface
  depends on the waveform.

  Note that this does *not* occur in later versions, therefore, this bug
  does not apply to Plucky and therefore this is "Fix Released" in
  Plucky.

  [ Test Case ]

  * Install Audacity

  * Open a sound file (any will do)

  * Zoom in.
   - Eventually waveform disappears If it does not, keep zooming.

  Expected result: Waveform does not disappear
  Actual result: Waveform disappears if zoomed in enough.

  [ What problems could occur ]

  This is a simple, one-line patch that is the basis for the same fix in
  3.6.2 that fixes the issue upstream:

  +-   const int64_t cacheRight      = right / CacheElementWidth + 1;
  ++   const int64_t cacheRight      = (right + CacheElementWidth - 1) / CacheElementWidth;

  As this is a relatively simple patch, I don't foresee any problem,
  however, there is obviously the risk that any patch can cause
  problems. There's also the risk that this doesn't actually fix the
  problem and needs further refinements later, but rather than do a
  microrelease here, I'd rather start with this and see where it leads.

  [ Other Information ]

  Original bug report:

  As reported in https://github.com/audacity/audacity/issues/7108 by
  someone else, but fully reproducible with the oracular build of 3.6.1,
  the interface waveform render goes blank after a bit of zooming.

  This is an upstream bug fixed in
  https://github.com/audacity/audacity/pull/6955 , merged in the
  upcoming 3.6.2 release.

  I've tested building oracular's 3.6.1 adding just commit bf7b2dd (i.e.
  https://github.com/audacity/audacity/commit/bf7b2dd95756f6077790ff8d4eb3306833203fa4.patch
  ) and can confirm it fully fixes this bug.

  The only reliable workaround I've found is to force the Audacity
  interface to fully re-render by accessing the Edit -> Preferences
  dialog, not changing anything, and closing it via the Ok button (as
  opposed to the Cancel button.) That of course doesn't prevent the
  problem from manifesting again after a few zoom operations, but it's
  better than nothing. Quite annoying though.

  Not aware of the release plans for oracular, but if there are no plans
  to ship 3.6.2, then that patch should probably be added in, since this
  bug is disruptive.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/audacity/+bug/2077979/+subscriptions



References