Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2023, 01:52 PM   #1
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,208
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Tag browser flickering

I'm using calibre 6.23 on Windows 11, dark mode.

Calibre uses a dark background and light font (probably a light gray).
But, when you expand some items on the Tag Browser, most of the text of the items below this one flicks, becoming black and then going back to the light font.

This flickering does not happen when using light mode.

Last edited by thiago.eec; 07-20-2023 at 04:10 PM. Reason: typo
thiago.eec is offline   Reply With Quote
Old 07-20-2023, 06:20 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,708
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by thiago.eec View Post
I'm using calibre 6.23 on Windows 11, dark mode.

Calibre uses a dark background and light font (probably a light gray).
But, when you expand some items on the Tag Browser, most of the text of the items below this one flicks, becoming black and then going back to the light font.

This flickering does not happen when using light mode.
Did it happen in previous versions?

Which items?

Did you try changing the Look & feel->Main interface->User interface style from calibre-style to System-style (or vice versa)? That's the first setting on that dialogue.

BR
BetterRed is offline   Reply With Quote
Advert
Old 07-21-2023, 09:36 AM   #3
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,208
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by BetterRed View Post
Did it happen in previous versions?
Yes. Just tested here on 4.23 portable. I only noticed now because I removed all my tags and started from scratch, using hierarchical tags.

Quote:
Originally Posted by BetterRed View Post
Which items?
Most of them. See the video attached.

Quote:
Originally Posted by BetterRed View Post
Did you try changing the Look & feel->Main interface->User interface style from calibre-style to System-style (or vice versa)? That's the first setting on that dialogue.
It happens both in calibre style and system style.
Attached Files
File Type: avi Tag-Browser.avi (7.61 MB, 51 views)
thiago.eec is offline   Reply With Quote
Old 07-21-2023, 10:06 AM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,181
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
I can reproduce in dark mode, linux mint 21.2. My best guess would that it is something in qt with dark mode.

bernie

Quote:
Originally Posted by thiago.eec View Post
Yes. Just tested here on 4.23 portable. I only noticed now because I removed all my tags and started from scratch, using hierarchical tags.



Most of them. See the video attached.



It happens both in calibre style and system style.
gbm is offline   Reply With Quote
Old 07-21-2023, 11:55 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,416
Karma: 8012664
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@kovid: this seems to be caused by the adjustment for dark theme when painting highlighted (hovered) tag browser labels done in gui2.library.views.paint_text at line 70. According to my experiments (on Windows) the painter must have a correct dark mode pen set if the item is not being highlighted. If the pen is not set then Qt seems to use a black pen, which is replaced later the correct color.

I pushed a PR with my fix. I freely admit that I might have broken something, but I don't see anything. It is also possible that the non-hover pen should be something other than Qt.GlobalColor.white. Finally, it is possible that this should be done in a style sheet somewhere instead of in code.
chaley is offline   Reply With Quote
Advert
Old 07-21-2023, 12:34 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your fix is fine except that it should use window-text rather than white.
kovidgoyal is offline   Reply With Quote
Old 07-21-2023, 04:03 PM   #7
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,208
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Thanks @chaley and @kovid. All good now!
thiago.eec is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag Browser chicleeblair Library Management 29 09-13-2023 12:02 PM
Lost tag in tag browser Goldwinger5566 Library Management 2 10-09-2021 03:54 PM
How to stop Tag Browser, Details and Cover Browser from showing on startup? stuartro Calibre 1 08-15-2016 11:53 PM
Sorting tag values in tag browser mcam Library Management 15 08-25-2013 05:50 AM
Tag Browser Lady Fitzgerald Library Management 2 07-17-2012 11:54 PM


All times are GMT -4. The time now is 10:34 PM.


MobileRead.com is a privately owned, operated and funded community.