Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2023, 10:02 PM   #1
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
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.
Foozle is offline   Reply With Quote
Old 07-08-2023, 10:31 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,132
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Foozle View Post
Again, it only happens in some books, and I cannot figure out why.
I found the same issue.

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?
Karellen is online now   Reply With Quote
Old 07-08-2023, 11:00 PM   #3
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
Posts: 59
Karma: 221034
Join Date: May 2021
Device: None
Quote:
Originally Posted by Karellen View Post
I found the same issue.

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?
Didn't think about that. Huh! That is rather odd. Good catch! Weird why those extra lines would do that.
Foozle is offline   Reply With Quote
Old 07-08-2023, 11:22 PM   #4
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,132
Karma: 4911876
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by Foozle View Post
Didn't think about that. Huh! That is rather odd. Good catch! Weird why those extra lines would do that.
I found the original thread where this was discussed. Reason is I was trying to recall the response from @kovidgoyal
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.
Karellen is online now   Reply With Quote
Old 07-09-2023, 12:38 AM   #5
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: 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.
kovidgoyal is offline   Reply With Quote
Old 07-09-2023, 09:44 AM   #6
Foozle
Connoisseur
Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.Foozle ought to be getting tired of karma fortunes by now.
 
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.
Foozle is offline   Reply With Quote
Old 07-20-2023, 01:28 PM   #7
Badas
Junior Member
Badas began at the beginning.
 
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.
Badas is offline   Reply With Quote
Old 07-20-2023, 01:50 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
Quote:
Originally Posted by Badas View Post
I found that Left Ctr + Click is working, but Right Ctr + Click does not go to the style clicked.
What OS? What local keyboard?
theducks is online now   Reply With Quote
Old 07-21-2023, 03:10 AM   #9
Badas
Junior Member
Badas began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Pocketbook Ultra
Win 10 Pro, Keybord - ENG or LIT. Calibre 6.23.
Badas is offline   Reply With Quote
Old 07-21-2023, 03:54 AM   #10
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: 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.
kovidgoyal is offline   Reply With Quote
Old 07-21-2023, 07:59 AM   #11
Badas
Junior Member
Badas began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2021
Device: Pocketbook Ultra
Thank you, it is my keybord problem...
Badas is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:38 PM.


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