Red Hat Bugzilla – Bug 491804
ardour2 window maximize does not respect gnome-panel sidebar
Last modified: 2009-06-02 19:04:59 EDT
Description of problem:
When ardour starts, it is maximized to the entire screen size, not respecting the gnome-panel sidebar on the left (unlike gnome-terminal and every other application). What is worse, is it seems ardour does not even allow window width resizing. Clarification- it does respect gnome-panel in that it doesn't overlap with it, but there is the gnome-panel width worth of the ardour window not visible past the right edge of the screen.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. configure a gnome-panel on the left side of screen
2. launch ardour
minor clarification on reproduction-
you may have to be in a state where it can start jackd, and you also need to create a new session with arbitrary name. Once the new session is created, is when the quasi-fullscreen window appears.
Could you try this with ardour-2.7.1 from the testing repo?
yum --enablerepo updates-testing update ardour
No, that 2.7.1 didn't do the trick, same behavior.
Also, in case it matters, my display is 1280x800.
As far as I know, ardour is designed to fit e screen width of 1024. You shouldn't be able to make the window smaller than 1024 pixels in width, but you can make it larger than that.
Ah, I'll try to verify the problem. But I have to install Gnome first. I'm scared.
(In reply to comment #4)
> As far as I know, ardour is designed to fit e screen width of 1024. You
> shouldn't be able to make the window smaller than 1024 pixels in width, but you
> can make it larger than that.
> Ah, I'll try to verify the problem. But I have to install Gnome first. I'm
Thanks for looking at this. I did dig into the code myself hoping I could make a quick fix, but I got scared too... I think the problem lies with its use of gdk_get_screen_size or some such. There is also some hardcoded check for screen widths less than 1200 (didn't see 1024 mentioned anywhere). In any event, my screen width is 1280 so I should be 'fine' as far as that case is concerned.
I think the problem lies with all that logic, which seems to preclude generic resizability. I.e. gnome-terminal and every other app I try doesn't have a problem because when metacity(windowmanager) maximizes it, it maximizes it to the space minus the gnome panel. Whereas ardour is playing pretty tight with getting the actual screen width, and then not letting the user resize. Basically I'm pretty sure that is the central problem, and the code dealing with such stuff was not isolated to just one place where I could try a few-line fix. (or thats my brief perusal assessment, FWIW).
OK, I finally installed Gnome and reproduced your case in 1280xheight resolutions.
It looks like this is a feature of ardour rather than a bug. I did not encounter this before because I use a resolution of 1680x1050.
Nevertheless, this is not a packaging bug. I reported it to upstream for you. You can follow the ticket here:
I'll backport the "fix" if it is ever going to be fixed.
I talked to the main author of the ardour. This is a font scaling problem of GTK/pango.
In ardour, go to
"Edit -> Preferences -> Misc -> Font scaling"
By playing with that slider I was able to fit ardour in much smaller screen widths. So I'm closing the bug NOTABUG. Feel free to reopen it if you still think that there is something wrong.