Skip to content

PathChooser: title bar fm_style#12942

Merged
hius07 merged 1 commit into
koreader:masterfrom
hius07:path-chooser
Dec 27, 2024
Merged

PathChooser: title bar fm_style#12942
hius07 merged 1 commit into
koreader:masterfrom
hius07:path-chooser

Conversation

@hius07

@hius07 hius07 commented Dec 26, 2024

Copy link
Copy Markdown
Member

Regarding #12941.

Re-extraction of covers is triggered in the "choose file" dilalog, i.e. PathChooser.

I cannot reproduce on Kindle, assume the reason of the issue is different styles of the title bar in FM/Collections and PathChooser (small icons). Assume, on some screen resolutions (because of rounding in scaleBySize) this may cause different titlebar height and hence different cover thumbnail sizes:

title_top_padding = self.title_bar_fm_style and Screen:scaleBySize(6),
button_padding = self.title_bar_fm_style and Screen:scaleBySize(5),

In any case, let the title bar be the same in all windows supported by CoverBrowser (FM, Coll, Hist, PathChooser), hoping it fixes the issue.


This change is Reviewable

@Frenzie Frenzie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds sensible.

@Frenzie Frenzie added this to the 2025.01 milestone Dec 26, 2024

@poire-z poire-z left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested Wiki settings > Set Save as EPUB folder, and the home and the close cross icons looks really and surprisingly tiny.
Looks way better with title_bar_fm_style=true.

@hius07 hius07 merged commit 7151f3c into koreader:master Dec 27, 2024
@hius07 hius07 deleted the path-chooser branch December 27, 2024 06:28
0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants