Topic: Pianoteq v5-7 aborts export when switching workspaces in Gnome-Shell

Hi all,

Just checking here to see if anyone else is having this issue before I report it to Modartt. I have noticed Pianoteq will abort exporting to WAV when Gnome-Shell switches to another workspace during the export. I have tested Pianoteq 5, 6 and 7 and they all have the same issue.

Steps to reproduce on up-to-date Ubuntu 20.04:

1. Open Pianoteq (any of v5, 6 or 7)
2. Load MIDI file
3. Export to WAV
4. While Pianoteq is exporting, switch to another workspace
Expected behaviour: Pianoteq should continue to export to WAV until it reaches the end of the MIDI file.
Observed behaviour: Pianoteq export exits as soon as another workspace is selected, and the system 'beep' sound is played.

This happens using either JACK or ALSA (though I imagine it doesn't matter during export).

Thanks in advance!

Re: Pianoteq v5-7 aborts export when switching workspaces in Gnome-Shell

lem18 wrote:

Hi all,

Just checking here to see if anyone else is having this issue before I report it to Modartt. I have noticed Pianoteq will abort exporting to WAV when Gnome-Shell switches to another workspace during the export. I have tested Pianoteq 5, 6 and 7 and they all have the same issue.

Steps to reproduce on up-to-date Ubuntu 20.04:

1. Open Pianoteq (any of v5, 6 or 7)
2. Load MIDI file
3. Export to WAV
4. While Pianoteq is exporting, switch to another workspace
Expected behaviour: Pianoteq should continue to export to WAV until it reaches the end of the MIDI file.
Observed behaviour: Pianoteq export exits as soon as another workspace is selected, and the system 'beep' sound is played.

This happens using either JACK or ALSA (though I imagine it doesn't matter during export).

Thanks in advance!

Hi there,

I tried this scenario out on my Debian 9 system, with XFCE4 as a window manager, and the latest version of Pianoteq ( another happy Summer Sale customer). When I switch to another workspace the export to WAV continues until it reaches the end of the MIDI file. as one would expect but you are not experiencing.

It would sound as if you need to have a look at your window manager settings, possibly the advanced settings for the workspaces, which may limit the continuance of an application when the workspace is changed. I can think of reasons why you might want to have this sort of functionality operational eg to stop forgotten applications running continuously unattended and chewing up resources, but I have not found anything in the ZFCE4 configuration settings that would allow me to do that. It may be something to do with "Focus", but I would have thought that you then replicate the same problem with other applications.

Michael

Pianoteq 8 Studio plus all Instrument packs; Organteq 2; Debian; Reaper; Carla

Re: Pianoteq v5-7 aborts export when switching workspaces in Gnome-Shell

i'm running PTQ7 on an older release of Xubuntu (16.04LTS), so also with XFCE, and i've never seen this problem.  i switch workspaces all the time when exporting audio, and it's never aborted.

Re: Pianoteq v5-7 aborts export when switching workspaces in Gnome-Shell

Thanks for the replies. I tried XFCE just now and it doesn't abort when switching workspaces. Gnome-Shell on both Xorg and Wayland cause Pianoteq to abort export precisely when another workspace is selected (going into the workspaces overview doesn't). I tried changing the setting for 'attach modal dialogues' which didn't seem to affect anything. That was the only setting I thought that might affect it, so I'm not sure. For reference, this never happened on Ubuntu 18.04 under Compiz/Unity.

Last edited by lem18 (18-08-2021 23:43)

Re: Pianoteq v5-7 aborts export when switching workspaces in Gnome-Shell

This bug is still present in 7.5.3. I did some more testing (Ubuntu 20.04, Gnome-Shell):

As long as the export dialogue remains in focus when moving workspaces, or is located on a workspace that is in focus, Pianoteq will continue to export.

Pianoteq's main window doesn't have to be in focus and can be freely moved between workspaces during export.

In the workspace overview mode, dragging and dropping the export dialogue to a workspace that is not in focus causes Pianoteq to abort export.

Workaround: Holding Alt and right clicking on the export window, then selecting "Always on visible workspace" (which means the export dialogue appears on all workspaces) lets me freely switch between workspaces and Pianoteq will continue to export, which reinforces the first point: As long as the export dialogue is on a workspace that is in focus, it will continue. As soon as it is on an unfocused workspace, it will abort.

Last edited by lem18 (22-01-2022 03:56)