After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685347 - Open and Save Dialog is too large, does not remember last size
Open and Save Dialog is too large, does not remember last size
Status: VERIFIED DUPLICATE of bug 674556
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.4.x
Other Linux
: Normal major
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2012-10-03 03:18 UTC by ljelly
Modified: 2013-02-11 07:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
overlapping window LibreOffice Open Dialog Box (139.46 KB, image/png)
2012-10-03 03:18 UTC, ljelly
Details
dialog box positions libreoffice (463 bytes, application/octet-stream)
2012-10-06 01:19 UTC, ljelly
Details

Description ljelly 2012-10-03 03:18:09 UTC
Created attachment 225647 [details]
overlapping window LibreOffice Open Dialog Box

TO Gnome Nautilus,

Currently the open save dialog boxes on my Ubuntu 12.10 Beta 2 AMD 64 BIT Computer overlaps and does not fit on my screen everytime i click file > open or file > save.

See attachment below:(most noticeably in the bottom right hand corner where I cannot see the open or cancel buttons)

This occurs on programs like LibreOffice or Firefox and Google Chrome:

Could there be a similar approach to solving this like the edit bookmarks window in Nautilus where the window remembers to open maximised or as a window that fits nicely in the middle of your screen?

As I believe firstly that this is a bug, that has occurred since ubuntu 10.04 and earlier.

secondly the window overlaps on my screen every time I click file open or file save on my ubuntu machine for any open or save dialogue.
There should be no reason to resize the window every time to maximise or minimise as it should remember its position every time.

I think this is a problem with gnome or nautilus? If it is not could you please redirect where this problem can be fixed.
There is also a bug report on Launchpad: bug 760645
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/760645 

and Ubuntu Forums
http://ubuntuforums.org/showthread.php?t=2063809&referrerid=890182 

This is a reoccurring bug. 

Bash321
Comment 1 André Klapper 2012-10-03 08:09:03 UTC
The open save dialog boxes have nothing to do with Nautilus. :)

So if you resize this dialog (e.g. by using Alt+F7 to move it first), next time it's too big again?
Comment 2 ljelly 2012-10-03 13:19:34 UTC
Yes that's correct. I resize them and the next time I use them they are too big again. 
I have tried using settings in ccsm to keep all windows maximised but even that does not work for the open and save windows. They are always to big, even before I set the settings on ccsm.  I then have to manually set the window to maximise for it to fit on my screen. I then close the window and it still does not stay in the same maximised position as it was before I closed it. It is too big like in the screenshot below. 

Bash321
Comment 3 Federico Mena Quintero 2012-10-03 20:20:45 UTC
There was a bug about window sizes not being saved; it is bug #674556.  For the version of GTK+ that LibreOffice runs with, it was fixed in GTK+ 2.24.11.

*** This bug has been marked as a duplicate of bug 674556 ***
Comment 4 ljelly 2012-10-04 00:42:55 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=55600
bug reported for libreoffice.
hopefully this can be fixed.
bash 321
Comment 5 André Klapper 2012-10-04 21:44:17 UTC
(In reply to comment #4)
> https://bugs.freedesktop.org/show_bug.cgi?id=55600
> bug reported for libreoffice.

Which exact gtk2 version do you use on your system?
Comment 6 ljelly 2012-10-04 23:28:16 UTC
ii  libgtk2.0-0:amd64                      2.24.13-0ubuntu2         amd64                    GTK+ graphical user interface library
ii  libgtk2.0-0:i386                       2.24.13-0ubuntu2         i386                     GTK+ graphical user interface library

according to this url

http://askubuntu.com/questions/78377/how-to-know-my-gtk-version
Comment 7 Federico Mena Quintero 2012-10-05 16:17:36 UTC
... and that 2.24.13 does not fix the problem?

Before you start LibreOffice, could you please check the contents of your ~/.config/gtk-2.0/gtkfilechooser.ini ?

Then, start LibreOffice, use a file dialog, and resize it.  Close the dialog, close LibreOffice, and check that gtkfilechooser.ini file again.  Do the saved sizes change?
Comment 8 ljelly 2012-10-06 01:19:48 UTC
Created attachment 225915 [details]
dialog box positions libreoffice
Comment 9 ljelly 2012-10-06 01:21:18 UTC
No It Does not fix the problem in 2.24.13.

I have posted as an attachment the output file.

here it is. (id=225915)

It does change.
But.
IT opens trying to maximise but it does not fit on my screen.
I maximise the window, changing its position and then i closed it..
and the files have changed.

I have returned to LibreOffice
started and opened the dialog (open dialog box) as i used before..
IT still has the same problem.
as the previous screenshot as it opens by default. in the same position and not maximising as a full screen window. as I had left it.
I would like the dialog box to stay maximised when I change it. So when it opens, it always maximises as a window fully maximised in ubuntu. 
This problem occurs for all open and save dialog boxes in ubuntu! in any program! including gedit (text editor) archive manager, firefox, chrome, libreoffice... and the list goes on with any program with a save or open dialog box.
Comment 10 Federico Mena Quintero 2012-10-08 18:53:44 UTC
What happens if you delete ~/.config/gtk-2.0/gtkfilechooser.ini and try the file dialog again?

If that doesn't fix it, I wonder if this is an Ubuntu-specific problem.  I don't know if it saves the positions/sizes of windows.
Comment 11 ljelly 2012-10-08 22:53:03 UTC
I deleted the file:
it opened as a small window in the middle of my screen, then i maximised the window.. i closed the window opened the open dialog box again.. and it went back to the overlapping window problem, It would not go back to a maximised state the way I had left it before.

It must be a specific Ubuntu Problem because all of the open and save dialog boxes open like this by default... and they all don't fit on the screen without resizing.
Comment 12 ljelly 2012-10-08 22:58:06 UTC
(In reply to comment #11)
> I deleted the file:
> it opened as a small window in the middle of my screen, then i maximised the
> window.. i closed the window opened the open dialog box again.. and it went
> back to the overlapping window problem, It would not go back to a maximised
> state the way I had left it before.
> 
> It must be a specific Ubuntu Problem because all of the open and save dialog
> boxes open like this by default... and they all don't fit on the screen without
> resizing.

What I think it could be doing....

Its trying to keep the same resolution as an open save dialog box... the way I had left it when I closed it in a maximised state.
But It hasn't been told to stay as a maximised window. Once I click the maximise button the window goes into the right position..
So A Fix might be to tell the window to go into a maximised position,(then it would be in the right spot as it was before) as it has the right dimensions to do so!
Comment 13 ljelly 2012-11-04 00:52:12 UTC
Still occurs in Ubuntu quantal  12.10 even with gnome session fallback. 
It does not remember a maximised state as it should in #comment 11.
Comment 14 ljelly 2013-02-11 07:33:16 UTC
Bug has partially been resolved in LO 4.0.0.3.
Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89)
Ubuntu 13.04 Raring 64 Bit.

Open Dialogue Window does not overlap any more when checkbox is checked in CompizConfigSettings manager for maximised windows under the Window Rules Option.

The WIndow is fully maximised with Unity Integration in LibreOffice, and it remembers its maximised state in the application.

The problem is that this only occurs when it is checked using CompizConfigSettings Manager, can this now be constructed as being the default process for Open and Save Dialogue windows that are maximised in Ubuntu?
Without having to check the maximised windows option in CompizConfigSettings Manager, for each individual application that has an open and save dialogue box window in ubuntu, so that they may have full unity integration on the display monitor.
I would also like to escalate this query to other programs within Ubuntu, as it has the same maximise issue for open and save dialogue windows in programs such as Rhythmbox, and Evince Document Viewer.
It is a common bug on Ubuntu Systems with Unity.

https://bugs.launchpad.net/df-libreoffice/+bug/1097089
http://ubuntuforums.org/showthread.php?t=2079659