File Open/Save/Select dialog boxes are off center [SOLVED]

Please post any bugs you have found
Message
Author
OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

File Open/Save/Select dialog boxes are off center [SOLVED]

#1 Post by OverDrive »

I realize this is one of those "niggly bits", But after several months of noticing it, It is beginning to wear on me....

With the main program maximized, Whenever I open a File Management Dialog Box in:

Abiword
Geany
Nico Edit
ePDFView
GNumeric
Home Bank
And I'm sure other programs I can't remember now.

The dialog box displays off-center with the mouse buttons totally off screen. So each time I have to drag the box to the center to get to the mouse buttons.



This is on my 1280 x 800 laptop. It is not a problem on my 1280 x 1024 desktop.

I guess the loss of the 224 pixels of vertical resolution is the culprit.

Does anyone have ideas as how to fix this? Is there a file I can tweak?

OverDrive
Attachments
dialog.jpg
(28.51 KiB) Downloaded 1498 times
Last edited by OverDrive on Thu 15 Apr 2010, 04:33, edited 6 times in total.

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#2 Post by OverDrive »

Anybody?
Instant Puppy Fan!!!

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#3 Post by abushcrafter »

Don't know but I would like to know too.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

I never reported it, but I have the same in 1024x768 in xorg.
And even in different puppies.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#5 Post by Makoto »

I've had it since I started using 4.3.1. Most of the file management boxes appear with the upper-left corner close to the center, more or less (I think I'm running at 1280x), and the OK/Cancel buttons run off the bottom of the screen, if I don't move the box.

Is this a GTK issue? It seems to only happen with the ones that look like the standard GTK file dialogs (or at least the ones I've encountered).
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#6 Post by OverDrive »

Makoto, Yes, Now that you mention it, It probably is a GTK issue. Does anyone know which settings file effects this?

OverDrive
Instant Puppy Fan!!!

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#7 Post by OverDrive »

I found /root/.config/gtk-2.0/gtkfilechooser.ini

Inside I found:

[Filechooser Settings]
LocationMode=path-bar
ShowHidden=false
ExpandFolders=false

I edited "ShowHidden=true" and it now displays everything, So I now know it is a actively read file. Does anyone know of any other commands the ini file understands? Or is window position a JWM issue?

OverDrive
Instant Puppy Fan!!!

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#8 Post by Dingo »

I also have problems and dialog boxes are off center

I have a widescreen monitor at 1440x900 resolution

it's a very annoying problem
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#9 Post by OverDrive »

I found this info in a ubuntu version of the ini file:

ShowSizeColumn=true
GeometryX=0
GeometryY=0
GeometryWidth=770
GeometryHeight=518

Unfortunatly it had no effect. Not even the ShowSizeColumn statement....

OverDrive

We have to figure something as simple as this out...Anybody???
Instant Puppy Fan!!!

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#10 Post by OverDrive »

I installed IceWM today and out of the box it does the same thing. Also SeaMonkey has the same problem. Now I am pretty sure it is solely related to programs using GTKFileChooser. I was thinking maybe it was JWM's execution of GTKFileChooser, now I don't think that is true.

Still looking for ideas...

Any input appreciated....

OverDrive
Instant Puppy Fan!!!

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#11 Post by OverDrive »

Looking to see if the problem occurs in other distros, I downloaded and tried the latest KNOPPIX cd. (700megs bloat WooHoo!) I tried Gimp (assuming it uses GTKFileChooser) and the dialog box opened correctly in the upper left corner. So now I'm thinking we are:

A. missing a needed lib file
B. or maybe using a wrong version.

Can anyone else confirm another distro does / does not have a problem with GTKFileChooser on a system that also uses Puppy and has the problem?

Are their any other LiveCD distros anyone else can recommend to test that uses X and GTK apps and doesn't require HD install?

OverDrive
Instant Puppy Fan!!!

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#12 Post by OverDrive »

Hello, I found :

ftp://ibiblio.org/pub/linux/distributio ... 8.3-p4.pet

installed it and the problem went away. Hopefully this will be used in the next Puppy release.

UPDATE: After installing, I noticed it broke Geany. It closes unexpectedly when I try to open filechooser.ini

Soooo back to the drawing board.... :(

UPDATE 2: I also installed
ftp://ibiblio.org/pub/linux/distributio ... 2.2-p4.pet

and now Geany works :D

I'll test this for a while before I mark this solved though.

UPDATE 3: April 4th, 2010

Don't use these. It seams they may introduce a sporadic screen refresh problem on some systems. Read further down for a link to GTK-2.16x. 2.16x is the version Barry finally settled on for Quirky and it has worked well with no problems reported.

OverDrive
Last edited by OverDrive on Mon 05 Apr 2010, 01:40, edited 1 time in total.
Instant Puppy Fan!!!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#13 Post by DaveS »

Stuff me! It works! There goes one of my pet hates at last. Brilliant thanks.
Spup Frugal HD and USB
Root forever!

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#14 Post by OverDrive »

Cool! Glad to be of some help!! Can you please put all your usual apps through their paces to see if this broke anything else and then check back in here with your results?

I'd like to get as much feedback as possible before I mark this solved.

Also, I'd like to say thanks to whoever made those lib updates available. :D

OverDrive
Instant Puppy Fan!!!

User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#15 Post by Dingo »

I installed suggested packages and then...

Tried Geany - OK
Tried Seamonkey - OK
Tried some other apps - OK

at moment I tried only on live Cd, not in my frugal install, but seems prosiming, I will try again to find possible problems, at moment I don't have
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#16 Post by OverDrive »

Update: I discovered Barry compiled the lib files. Thanks Barry!!
He mentioned it in his blog and that it might have some quirks so be sure and read before using. For me so far, It is worth it.

http://bkhome.org/blog/?viewDetailed=01180

If you find it is not worth it, you can always unwind it be removing
them through Puppy Package Manager.

OverDrive
Instant Puppy Fan!!!

User avatar
Makoto
Posts: 1665
Joined: Fri 04 Sep 2009, 01:30
Location: Out wandering... maybe.

#17 Post by Makoto »

I have to admit, I'm a little wary of installing updates for GTK and glib (but mostly because I think someone said on these forums that attempting to update glib could break practically everything... don't know if that's true, or not, but I am paranoid. :D)

Just curious, I suppose - what version of GTK is included in Puppy 4.3.1?
[ Puppy 4.3.1 JP, Frugal install ] * [ XenialPup 7.5, Frugal install ] * [XenialPup 64 7.5, Frugal install] * [ 4GB RAM | 512MB swap ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#18 Post by OverDrive »

I think it is 2.14-7

My research indicates you have get past that before the new GTKFileChooser patch was available. If you could find something in 2.16, I think they should be in there. Then you will be a little back from the "bleeding edge". Be sure and update glib also.

FWIW, I'm OK with 2.18 so far.

You can always remove it via Puppy Package Manager...

OverDrive
Instant Puppy Fan!!!

OverDrive
Posts: 178
Joined: Mon 02 Jan 2006, 05:07
Location: Cleveland, OHIO,USA

#19 Post by OverDrive »

I found out Barry found a fix to the Rox-Filer bug in the previous blog post at http://bkhome.org/blog/?viewDetailed=01389

At this point I have say it pays to keep up with his blog....:oops:

He shows some text to paste into /etc/profile

On further reading down the comments section it was discussed editing /usr/local/bin/rox instead from

#!/bin/sh
exec /usr/local/apps/ROX-Filer/AppRun "$@"

to

#!/bin/sh
export GDK_NATIVE_WINDOWS=true
exec /usr/local/apps/ROX-Filer/AppRun "$@"

FWIW, I tried this and it works.

OverDrive
Instant Puppy Fan!!!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#20 Post by DaveS »

Not sure about this one, but I seemed to notice some strange behavior in Rox, with files not de-selecting as they should. I vaguely remember reading another thread about this behavior somewhere, but I cant find it now. Also having trouble reproducing the issue. Will experiment further.................
BTW, Open Office is fine with it.
Spup Frugal HD and USB
Root forever!

Post Reply