Tiny Core Linux

Tiny Core Base => TCB Tips & Tricks => Topic started by: xor on March 02, 2021, 10:08:13 PM

Title: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: xor on March 02, 2021, 10:08:13 PM
1024x768 resolution firefox; "save as html" dialog overflows the screen! what should I do !?

To fully understand the problem, set your resolution to 1024x768 and
Try to save a web page like always!
You will see that the dialog screen that comes up is overflowing the screen!
Title: Re: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: Rich on March 02, 2021, 10:22:02 PM
Hi xor
First hit  Ctrl-Alt-M  a couple of times so it no longer overflows the screen.
Then hit  Ctrl-Alt-,  a few times to shrink the dialog horizontally.
Then hit  Ctrl-Alt-S  a few tomes to shrink the dialog vertically.

Now you can move and resize the dialog using the mouse.
Title: Re: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: Juanito on March 02, 2021, 10:23:30 PM
I seem to recall that you can adjust the dialogue box size using gsettings or dconf - you should be able to find out how with an Internet search engine.

Otherwise, all that's usually off screen is the "OK" button, so you can enter the information required and hit enter.
Title: Re: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: Juanito on March 03, 2021, 12:38:14 AM
There seems to be some kind of gtk3 bug in play - without using any gtk3 file open dialogue:
Code: [Select]
$ gsettings get org.gtk.Settings.FileChooser window-size
(-1, -1)

After using file open:
Code: [Select]
$ gsettings get org.gtk.Settings.FileChooser window-size
(1124, 822)
..which is too big

After changing the size:
Code: [Select]
$ gsettings set org.gtk.Settings.FileChooser window-size '(800,600)'
$ gsettings get org.gtk.Settings.FileChooser window-size
(800, 600)
[file open]
$ gsettings get org.gtk.Settings.FileChooser window-size
(1124, 822)

Note that you can also use the windows/mac/special key and drag to move the window around.
Title: Re: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: Rich on March 03, 2021, 07:36:06 PM
Hi Juanito
Seems to work OK on TC10 x86 using Firefox:
Code: [Select]
tc@E310:~/x$ gsettings get org.gtk.Settings.FileChooser window-size
(968, 689)
# File->Open , resized file chooser dialog.
tc@E310:~/x$ gsettings get org.gtk.Settings.FileChooser window-size
(968, 496)
tc@E310:~/x$ gsettings set org.gtk.Settings.FileChooser window-size '(800,600)'
tc@E310:~/x$ gsettings get org.gtk.Settings.FileChooser window-size
(800, 600)
# File->Open
tc@E310:~/x$ gsettings get org.gtk.Settings.FileChooser window-size
(800, 600)
Title: Re: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: Juanito on March 03, 2021, 11:51:04 PM
Did you try <ctrl-alt-m> prior to the gsettings command?

In my case that seems to prevent the dialogue box reverting to being too big.

However, looking at /home/tc/.config/glib-2.0/settings/keyfile I don't see what prevents resizing...
Title: Re: 1024x768 resolution firefox; "save as html" dialog overflows the screen!
Post by: Rich on March 04, 2021, 05:03:48 AM
Hi Juanito
No, but I also don't recall the file chooser dialog ever being too big.