Quickdial blocks stretched

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Skaendo
Moonbather
Moonbather
Posts: 51
Joined: 2016-02-28, 21:58

Quickdial blocks stretched

Unread post by Skaendo » 2024-01-27, 15:14

Just installed the 32.5.2 version and having a weird issue with the Quickdial page.

I have the columns set to 5 and rows set to 1. Now the thumbnails stretch from what I suppose is border to border (top to bottom), while the image is still using one block.

I would be fine with just a css fix if this is not a bug.

Pale Moon 32.5.2 x64
Slackware64-15.0

Screenshot: Image

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Quickdial blocks stretched

Unread post by Kris_88 » 2024-01-29, 03:49

userContent.css

Code: Select all

@-moz-document url(about:newtab) {
  #newtab-grid .newtab-row { max-height: 182px; }
}
@Moonchild
It would probably be good to add max-height to the sources.
https://repo.palemoon.org/MoonchildProd ... b.css#L129
or here:
https://repo.palemoon.org/MoonchildProd ... id.js#L107

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Quickdial blocks stretched

Unread post by Moonchild » 2024-01-29, 10:14

Sorry but no. it will take more than 182px of height for the previews if it's given that, so i don't want to clamp that down to a small size.
although when you change its layout, you may want to clear the stored thumbnails to force regeneration.
On Windows, those are stored in c:\Users\{username}\AppData\Local\Moonchild Productions\Pale Moon\Profiles\{random}.default\thumbnails\ ({username} is your windows username and {random} is your randomly assigned profile ID if you have not customized your profile location). I'm not sure where it's stored on Linux or Mac
You do not have the required permissions to view the files attached to this post.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Quickdial blocks stretched

Unread post by Kris_88 » 2024-01-29, 10:27

Moonchild wrote:
2024-01-29, 10:14
it will take more than 182px of height for the previews if it's given that, so i don't want to clamp that down to a small size.
The size of the thumbnails is determined by preferences
toolkit.pageThumbs.minHeight =180
toolkit.pageThumbs.minWidth = 250
as far as I understand.
We can set max-height based on these preferences.

UPDATE:
Yes, you are right. This screenshot makes sense.

BenFenner
Astronaut
Astronaut
Posts: 588
Joined: 2015-06-01, 12:52
Location: US Southeast

Re: Quickdial blocks stretched

Unread post by BenFenner » 2024-01-29, 16:28

Moonchild wrote:
2024-01-29, 10:14
I'm not sure where it's stored on Linux
about:supportProfile Directory[Open Directory]thumbnails/<username>

Probably identical steps for Windows* and Mac.


*Swap / for \ of course.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Quickdial blocks stretched

Unread post by Moonchild » 2024-01-29, 17:53

BenFenner wrote:
2024-01-29, 16:28
Probably identical steps for Windows* and Mac.
no, because on Windows it's stored in \Local, not \Roaming where the profile is
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Skaendo
Moonbather
Moonbather
Posts: 51
Joined: 2016-02-28, 21:58

Re: Quickdial blocks stretched

Unread post by Skaendo » 2024-01-30, 03:45

Moonchild wrote:
2024-01-29, 10:14
although when you change its layout, you may want to clear the stored thumbnails to force regeneration.
This was a completely fresh install on a computer that never had Pale Moon on it.

I will try playing with the minHeight and minWidth and see if that will help.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Quickdial blocks stretched

Unread post by Moonchild » 2024-01-30, 09:53

Skaendo wrote:
2024-01-30, 03:45
This was a completely fresh install on a computer that never had Pale Moon on it.
That doesn't matter. those thumbnails are generated in the background when you start the browser and they aren't there; Pale Moon out of the box does not come with "1 row" as a setting so in the time it would have taken you to change that, the small thumbnails would have already been created with the out of the box size setting.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite