Apache OpenOffice (AOO) Bugzilla – Issue 61084
Title bar is off-screen whenever Impress opens
Last modified: 2013-08-07 15:21:02 UTC
Whenever I open a presentation, the window that pops up has the title bar drawn above the top of the screen. The left and right window borders are also drawn outside the screen. I use fluxbox as my window manager.
This does not happen with the other applications?
Here's what I just did. It makes no sense to me, but maybe it'll help you. I ran each of ooffice2, oocalc2, oowriter2, ooimpress2, oodraw2, oomath2, and ooweb2 from the command line, with no arguments. Of these, oocalc2, ooimpress2, and oodraw2 exhibited the problem. When I saw that the problem existed, I moved and resized the windows down to a reasonable level, closed them, and restarted the application, only to find in each case that the problem was still there. Then, I tried running "ooffice2 mypresentation.ppt". The problem did not show up; the window was completely on-screen, exactly the same size as it had been last time I ran ooffice2. Then I ran "ooimpress2 mypresentation.ppt". It opened in a normal-sized window this time. Which was strange because I have never seen Impress do that, not even when started this way in the past. I think the previous command may have had some side-effect that fixed it. Now when I run ooimpress2 from the command line, it does not show the problem. oocalc2 and oodraw2 still do.
Reproduced by jsk. Reassigned.
reassigned
According to the comments above, Calc is affected, too. So this looks like a general problem.
cd->as: Andreas looks like a problem with our document window position/size code. May be this is a problem special to the window manager?
AS->PL: It's a feature of OOo to open calc/draw/impress in maximized mode. This seams to be not fully working with some window managers. The framework module calls "SetWindowState()" with a special prepared window state to reach that effect. At least a special "SetMaximized()" method on a vcl window would make the same ... but such function does not exists currently. Independend from that: the maxmized mode should not show such effects. Can you fix that ... or show me another way to fullfill the specification ?
pl->as: there is WorkWindow::Maximize for that purpose. After that it's up to the window manager.
AS->PL: Framework does not use Maximize on the WorkWindow ... because there is no special configuration about maximized/minimized. TH established - long time ago .-) - the method SetWindowState() which is used instead. So we call SetWindowState(",,,;4;"); to reach the goal showing an application window in maximized mode. Seams VCL itself does not use WorkWindow::Maximize() in such case ? .-)
Reset assignee on issues not touched by assignee in more than 2000 days.