momentarylapse / tsunami

A simple but powerful audio editor
GNU General Public License v3.0
77 stars 4 forks source link

Window resize when creating new track #22

Open ErinaceusLinnaeus opened 2 weeks ago

ErinaceusLinnaeus commented 2 weeks ago

Create new track....when switching through Audio, Midi, Metronome, Master and Heart the window resizes in a funny way.

Personal opinion: Would be nice if the window is anchored to the top-left corner.

momentarylapse commented 2 weeks ago
new-track

The weird resizing was more a feature than a bug to me.... it had a fixed size in an older version, but it looked awkward. Especially now, since there are more options that should only be shown for some track types, but not for others. I'd like to keep that.

As for the position of the dialog box, I think gtk4 dropped support for anything besides centered on the parent window.

You are right, it would be better, if the dialog would pop up close to the (+) button. gtk4 has something called "popover", a mix between a menu and a dialog box. That might be a better fit here

ErinaceusLinnaeus commented 2 weeks ago

Closer to the + button. I don't think so. I think center is fine. BUT:

This is what happens for me, maybe just on the Mac?

Screenshot 2024-11-11 at 21 20 52 Screenshot 2024-11-11 at 21 20 58 Screenshot 2024-11-11 at 21 20 46

As you can see, the lower window-border is locked in place and the top gets pushed up. Feels really weird.