07-08-2023, 10:02 PM | #1 |
Connoisseur
Posts: 59
Karma: 221034
Join Date: May 2021
Device: None
|
Bug: CSS Ctrl+Click Not Matching
It's been some time since I noticed this started happening, but in some books, for some reason Ctrl+Click on the CSS style doesn't go to the style clicked, but the next one.
For example, I click on a style called "margin1" but it goes to style "margin2" instead. Not sure why it's doing this. Again, it only happens in some books, and I cannot figure out why. |
07-08-2023, 10:31 PM | #2 | |
Wizard
Posts: 1,132
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
I had the following at the top of the stylesheet page... @charset "utf-8"; @namespace h "http://www.w3.org/1999/xhtml"; Once I removed those two lines, it worked correctly. Do you have something similar? |
|
07-08-2023, 11:00 PM | #3 |
Connoisseur
Posts: 59
Karma: 221034
Join Date: May 2021
Device: None
|
Didn't think about that. Huh! That is rather odd. Good catch! Weird why those extra lines would do that.
|
07-08-2023, 11:22 PM | #4 | |
Wizard
Posts: 1,132
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
https://www.mobileread.com/forums/sh...69#post4259669 Looks like I was meant to submit a bug report. I don't have an account there, but if you do, maybe you could submit a bug report? But then @kovidgoyal states further that those lines are not required... https://www.mobileread.com/forums/sh...91#post4259891 Last edited by Karellen; 07-08-2023 at 11:24 PM. |
|
07-09-2023, 12:38 AM | #5 |
creator of calibre
Posts: 43,933
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The lines are not required just remove them. And if you want the bug fixed opena bug report and attach a reproducer and I will take a look.
|
07-09-2023, 09:44 AM | #6 |
Connoisseur
Posts: 59
Karma: 221034
Join Date: May 2021
Device: None
|
Thanks for the info. I just thought it odd. If it's just that simple, no fix needed.
|
07-20-2023, 01:28 PM | #7 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Pocketbook Ultra
|
Small bug
I found that Left Ctr + Click is working, but Right Ctr + Click does not go to the style clicked.
|
07-20-2023, 01:50 PM | #8 |
Well trained by Cats
Posts: 29,892
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
07-21-2023, 03:10 AM | #9 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Pocketbook Ultra
|
Win 10 Pro, Keybord - ENG or LIT. Calibre 6.23.
|
07-21-2023, 03:54 AM | #10 |
creator of calibre
Posts: 43,933
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That will be something specific to your system, for whatever reason Qt is not translating the right ctrl to the controlmodifier. Check your keyboard settings/layout etc.
|
07-21-2023, 07:59 AM | #11 |
Junior Member
Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Pocketbook Ultra
|
Thank you, it is my keybord problem...
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Feature request] - Ctrl+Click on classes | thiago.eec | Editor | 20 | 05-20-2021 07:41 AM |
new feature 5.11 ctrl-click class behavior | rjwse@aol.com | Editor | 1 | 02-13-2021 11:58 AM |
css class not matching html | andy_k | Sigil | 3 | 05-01-2020 04:15 AM |
Table of Content click-bug inside Sigil | steven522 | Sigil | 6 | 12-30-2014 03:33 PM |
Embedded font bug or CSS bug in ADE | JSWolf | ePub | 10 | 06-11-2011 02:34 PM |