04-26-2016, 01:48 PM | #1 |
Head of lunatic asylum
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Inconsistencies in Remove unused CSS rules!?
Left: 1 500 000 Schriftzeichen (characters) I have only changed the view size. Maximize below. However, there is a significant difference, the number of character regarding. Right: 1 500 000 Schriftzeichen (characters) [/B] That is the initial order. It shouldn't mix up the text. And has the following to do with CSS? I think no! <?xml version="1.0" encoding="UTF-8" becomes <?xml version='1.0' encoding='utf-8'. standalone="no" has been deleted completly. Why is that been done here? Interna: Yiwu (FeLuhL) Last edited by chaot; 06-02-2016 at 10:49 AM. Reason: clarifies: Schriftzeichen (characters), add interna |
04-26-2016, 09:50 PM | #2 |
creator of calibre
Posts: 44,264
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That has nothing to do with remove unused css rules and is simply a long standing bug in Qt Text Edit rendering https://bugreports.qt.io/browse/QTBUG-47244
Last edited by BetterRed; 04-26-2016 at 11:07 PM. Reason: remove filter from url (requred a login) |
Advert | |
|
04-27-2016, 07:06 AM | #3 |
Head of lunatic asylum
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Thanks for the reply, Kovid.
My understanding of information technology is more limited, which is why a more thorough discussion between the two of us can not take place. But I'm not sure that you have understood my concerns in full. The addressed simply longstanding bug in Qt Text Edit rendering is almost certainly at Calibre users or at MobileRead only the least known, quite apart from the impacts. My since yesterday lost confidence in that tool Remove unused CSS must result in an extremely cautious use. In future I'll study that report about Differences between books very closely to prevent elementary components of a book totally unnoticed simply disappear or get altered. In the present case there are a lot of changes and the tool does not allow to manually exclude certain undesirable changes such this 1 500 000 matter. associated Action report Strange events caused only by changing the screen size. initially, reduced screen, left & right 1 500 000 Schriftzeichen maximized screen, left 00 000, right 1 500 000 Please, considering the caprioles I propose to tell us how to use this tool meaningful at all. Last edited by chaot; 04-27-2016 at 11:57 AM. Reason: Remove unused CSS rules→Remove unused CSS |
04-27-2016, 07:39 AM | #4 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
chaot: If you read the Qt bug that Kovid pointed to, it describes what you are seeing. When that number is at the left edge, the first character of the number disappears. If you resize the window, so that the number isn't at the edge, it will all be displayed. Or drag the centre bar to resize the left and right panes.
The thing here is to look at the highlighted differences. The compare tool is intended to show the differences between the two versions. It includes enough surrounding text to give context to the changes. In this case, if you press close button and examine the file, the number will be there in full and only the style changes will have been made. |
04-27-2016, 12:08 PM | #5 | |
Head of lunatic asylum
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Bug description - technical language in English! I didn't understand in its entirety. You know, people like us need communicators/mentors, therefore we are here in MobileRead.
Quote:
Test: I convert the book before Remove unused CSS (crossed Remove unused class attributes) and after in TXT-format, and compared - result positive, no changes. Anyway, I will use this Remove unused CSS furthermore - but with a little bit of caution. Were/how is to run that demo program test.cpp (test.zip)? Last edited by chaot; 04-27-2016 at 02:57 PM. Reason: marginally |
|
Advert | |
|
04-27-2016, 12:45 PM | #6 |
Well trained by Cats
Posts: 30,280
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Remove unused has 2 sections
1) Clean a (house kitchen sink) stylesheet (CSS) 2) Try and clean out UNDEFINED (in a stylesheet or Styles section) classes (the tick box) IMHO #2 is dangerous and hard to recover from, since it makes many changes. OTOH a missing stylesheet entry can be faked (make it pleasing again, at least ) |
04-27-2016, 02:36 PM | #7 | ||
Head of lunatic asylum
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
@theducks, thank you! We're getting closer.
It is not meant evil or even pedantic when I transform your post for any other less experienced MR-user. Quote:
Quote:
Should your objection to be understood generally as to the tick box to let uncrossed? Quote:
May I call a previously asked question in memory? Were/how is to run that demo program test.cpp (test.zip)? Last edited by chaot; 04-28-2016 at 03:56 AM. Reason: marginally, mb→MR, add meant, translate→transform |
||
04-27-2016, 02:46 PM | #8 | |
Well trained by Cats
Posts: 30,280
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Yes, remove the tick. Missing styles only leave bulky HTML (they will be ignored) Fake = Guess what it should have been Forget about doing anything about QT bugs. That is for developers who KNOW. All we need to know is: There is one that can bite |
|
04-28-2016, 12:38 PM | #9 |
Head of lunatic asylum
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
I try my best, but Denglish never will be Queens English.
Although you are not always fully understandable to me, here can be no question about it. A very clear hiss is perceptible. If that would be always the case, it would be so nice, ... oh no, good mutual intelligibility is meant. Of course, I attach great importance to your advices and suggestions - and accept idiosyncrasy. Each of us just has his way, an individual temperament - given by nature and not malleable, especially at my tender age. Nevertheless, I can do without descriptions of foreign posts in the future. Last edited by chaot; 05-06-2016 at 12:01 PM. Reason: growl→hiss |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove unused class attributes | phossler | Editor | 15 | 01-26-2016 01:06 PM |
Remove unused folders in Calibre Library | hashken | Calibre | 3 | 11-16-2014 06:05 AM |
Is it possible to reject some changes after using "Remove unused CSS tool"? | bowlins | Editor | 7 | 09-02-2014 04:22 AM |
Remove unused CSS Rules | Divingduck | Editor | 2 | 06-21-2014 07:51 AM |
New "remove unused css" tool | BobC | Editor | 4 | 01-25-2014 09:06 PM |