Bug 1798987 - Display no longer updated (waveform not redrawn, cursor missing etc.)
Summary: Display no longer updated (waveform not redrawn, cursor missing etc.)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: audacity
Version: 32
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ian McInerney
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-06 12:38 UTC by Valentin Villenave
Modified: 2020-05-19 05:25 UTC (History)
6 users (show)

Fixed In Version: audacity-2.3.3-2.fc31 audacity-2.3.3-5.fc32 audacity-2.3.3-2.el8 audacity-2.3.3-2.el7
Clone Of:
Environment:
Last Closed: 2020-05-12 02:24:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Valentin Villenave 2020-02-06 12:38:19 UTC
Description of problem:

When starting playback (either by clicking on the timecodes bar above the tracks, by pressing <Space> or <X>), the cursor (both the vertical line and the green triangle on top) disappears and only reappears when playback is stopped.

However,
- whenever the (albeit invisible) cursor reaches the right-most limit of the track fragment being displayed, the following fragment is then displayed (so it doesn’t seem to be a matter of display refresh).
- when the "Pinned play head" transport option is enabled, the problem isn’t noticeable (as the track view is continuously refreshed). But the software gets much harder to use :-)


Version-Release number of selected component :

Problem started happening with audacity 2.3.3 on Fedora 31, and is reproduced in Rawhide (no matter the desktop environment, with either X or Wayland). wxGTK3 version is 3.0.4.

How reproducible:

Always.

Comment 1 Valentin Villenave 2020-02-06 15:19:34 UTC
After downgrading to audacity 2.3.2 using dnf --releasever 30 distro-sync, I can confirm that the bug doesn’t happen. (Seems to have been introduced recently.)

Comment 2 Valentin Villenave 2020-03-24 10:14:24 UTC
I was able to inadvertently reproduce the bug on another machine running f32 and audacity 2.3.3, both with GNOME X/Wayland and Sway/Wayland.  Audacity was behaving normally then at some point it stopped displaying the cursor (unless I use a way to redraw the whole window constantly, e.g. by toggling "Pin play head").

Deleting .audacity-data doesn’t resolve anything, nor does reinstalling the package or starting a graphical session as another user.  Feel free to let me know if additional info is needed.

Comment 3 Valentin Villenave 2020-03-24 16:04:03 UTC
Actually it’s even worse; after a few hours of work on a moderately large file, the Audacity window is no longer updated *at all*.
- Obviously, no cursor at all.  No selections either.
- Waveform stays static, even though the sound’s playback is moving on largely beyond what’s displayed.
- Likewise, timecodes above the waveform remain frozen.
- Enabling "Pin play head" stops helping after a while.
- By going in blind and selecting some fragments willy-nilly, I can confirm that the program is actually still responding; apparently only the display part of the GUI’s affected.

All in all, this renders Audacity more or less unusable.  Not sure if it’s a toolkit problem with wxGTK3 or what (hard to tell since there are very few other programs using that).

Comment 4 Valentin Villenave 2020-03-25 11:34:24 UTC
Perhaps more interestingly, even the status bar is frozen as well.  When saving the file with Ctrl-S, the "saved" message isn’t displayed although the file _is_ indeed saved in its current state.

This tends to happen when there’s a lot of disk activity involved (caching audio chunks etc.).  I was able to reproduce that behavior on three different machines with various amounts of RAM, with or without disk swap, so that doesn’t seem to be relevant here.

I’m gonna try and submit a report upstream as well.  (Instead of adding to the noise on this tracker :-)

Comment 5 Ian McInerney 2020-04-06 17:11:49 UTC
Audacity has some UI issues when running under Wayland (https://github.com/audacity/audacity/issues/471). Please try launching with "GDK_BACKEND=x11 audacity" to see if that fixes the issues.

Comment 6 Valentin Villenave 2020-04-07 12:26:47 UTC
Oh, indeed, it appears to be yet another instance of their bug #471. Setting backend to x11 fixes the problem. (What’s weird is that even selecting gnome-x11-session in gdm doesn’t fix the issue.)

I’ll let them know. Thanks!

Comment 7 Ian McInerney 2020-04-07 13:30:41 UTC
Thanks for testing. I will see about making that the default invocation for launching Audacity.

Comment 8 Valentin Villenave 2020-04-07 14:26:06 UTC
That might be worth exploring.  One of their folks just told me: “We do not yet "officially" support Wayland as we don't have the resources to  do so, though we will as it becomes more mainstream.”

It does appear that Fedora’s wayland/GNOME is particularly prone to this bug, though, much more than Ubuntu’s for example.

See also https://github.com/audacity/audacity/issues/459

Comment 9 Misha Ramendik 2020-04-21 22:09:21 UTC
I have hit this same problem (in its "play cursor not moving" form) on RHEL 8.2 beta, Audacity from EPEL. Worked around it by adding GDK_BACKEND=x11 to the Exec line in the audacity.desktop file (after "env").

So EPEL is also hit.

Comment 10 Fedora Update System 2020-05-03 14:15:39 UTC
FEDORA-2020-b3bcb3f08b has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-b3bcb3f08b

Comment 11 Fedora Update System 2020-05-03 14:16:32 UTC
FEDORA-2020-18014ddf17 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-18014ddf17

Comment 12 Fedora Update System 2020-05-03 14:17:13 UTC
FEDORA-EPEL-2020-5b4b41394d has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5b4b41394d

Comment 13 Fedora Update System 2020-05-03 14:35:25 UTC
FEDORA-EPEL-2020-75532e052f has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-75532e052f

Comment 14 Fedora Update System 2020-05-04 06:53:40 UTC
FEDORA-EPEL-2020-75532e052f has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-75532e052f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-05-04 06:58:09 UTC
FEDORA-2020-b3bcb3f08b has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-b3bcb3f08b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-b3bcb3f08b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2020-05-04 07:05:36 UTC
FEDORA-2020-18014ddf17 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-18014ddf17`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-18014ddf17

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-05-04 07:21:41 UTC
FEDORA-EPEL-2020-5b4b41394d has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-5b4b41394d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2020-05-12 02:24:42 UTC
FEDORA-2020-b3bcb3f08b has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2020-05-12 03:07:40 UTC
FEDORA-2020-18014ddf17 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Fedora Update System 2020-05-19 05:20:27 UTC
FEDORA-EPEL-2020-75532e052f has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 21 Fedora Update System 2020-05-19 05:25:47 UTC
FEDORA-EPEL-2020-5b4b41394d has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.