I meant the style which is set in Rosegarden under Preferences->General->Themes Anyway I tried my Debian Trixie virtual machine and (with dark thene) I get the error. If I try Native theme in Preferences->General->Themes it seems the combo box expands to include all the values. This may be some qt/gtk incompatibility. Not sure what we can do here !
disable recent file menu if there are no recent files
The "heap-use-after-free" worried me - it was a thread race condition. I always feel nervous about multi-threading But without the document in TransportControl - maybe OK !
So - I decided I don't need document or composition in TransportControl. That should take care of the "heap after free" error Also fixed a bug with autostop without stopping jack. I added comments about which threads call which routines. Probably need some sort of mutex locking ! See latest version.
TransportControl fix auto stop
I managed to reproduce the error by adding a short sleep between the delete of currentDocument and the setting of currentDocument to nullptr in RosegardenMainWindow. So this is a thread race situation. This may be a weakness of TransportControl at the moment - no mutex locking although various threads are involved. I suspect I should not be using RosegardenDocument::currentDocument in the sequencer or ajck threads. I only need it for the stop at end functionality. Maybe I can find an alternative...
Hmm.. I don't see this. Does this always occur or just occasionally ? I thought I was safe with the line if (! doc) return 0; Must I do anything apart from just starting and stopping Rosegarden to get this error ?
TransportControl - Allow for jack not running