rncbc / qtractor

Qtractor - An Audio/MIDI multi-track sequencer
https://qtractor.org
GNU General Public License v2.0
511 stars 88 forks source link

Weird window behaviour #221

Closed suedwestlicht closed 4 years ago

suedwestlicht commented 5 years ago

I use devilspie to move Qtractors main window to virtual desk 1 and its mixer window to virtual desk 2.

Since a few commits the mixer window can't be moved to another desk manually (menu greyed out) or jumps to the desk with the main window (devilspie).

The behaviour on the same desk is weird, too. Clicking to the main window's button on the taskbar shows the mixer window. I have to click on the mixer window's button twice to show the main window.

rncbc commented 5 years ago

sorry for the inconvenience

you can check whether commenting out these lines has any effect on your case: https://github.com/rncbc/qtractor/blob/5bd2e84bb161158b91590ce1b1da8f37be64cfbf/src/qtractorMidiClip.cpp#L1116-L1118

sorry, my mistake, the above might not fix exactly what you describe (but it can help in the MIDI clip editor's regard on same situations)

the correct check-fix might have to do with the below where you may try replace the this arguments by NULL (or nullptr): https://github.com/rncbc/qtractor/blob/5bd2e84bb161158b91590ce1b1da8f37be64cfbf/src/qtractorMainForm.cpp#L1341-L1343

cheers

suedwestlicht commented 5 years ago

Thx. You fixed it with commit 651d526bccf0bd29d05ca3b732b52dd2da40db94