Mobileread
Please stop adding extra paragraphs??
#21  kovidgoyal 01-23-2020, 05:42 AM
weird I cannot reproduce o my development machine, must be specific to PyQt version, in any case this fixes it: https://github.com/kovidgoyal/calibre/commit/3e238e8ba76850ce5050364dd69d7ad1fcabcaeb
Reply 

#22  thiago.eec 01-23-2020, 08:15 AM
Quote un_pogaz
The update is arrived and bug report:
When I switch from "HTML code" to "Normal View", this message appears and the changes are not saved.
It also happens here (Win 10, x64).
Reply 

#23  Rev. Bob 01-23-2020, 02:05 PM
Quote kovidgoyal
in any case this fixes it: https://github.com/kovidgoyal/calibre/commit/3e238e8ba76850ce5050364dd69d7ad1fcabcaeb
I was just about to report that bug, but this does indeed fix it. (By the by, is there any way to stop this module from spontaneously inserting inline styles?)

Unfortunately, I have another 4.9 bug to report, which is unaffected by that patch. In the standard calibre "library list" view, highlighting multiple ebooks and selecting "Edit metadata individually" (either by typing "e" or using the context menu) brings up the bulk editor instead.

EDIT: Almost forgot, there's another comments-editor bug that's persisted through at least the last few versions. When highlighting a boldface word or phrase from right to left, highlighting the "last" character (the first one in the word) causes the "bold" button to switch to "normal" status and neither clicking it nor pressing control-B has any effect. The selection stays bold, and only by highlighting from left to right can the it be debolded. The same goes for italics and underlined text, and it manifests in both the "review downloaded metadata" and "edit metadata individually" comment environments (which I expect use the same coding, but it's good to be thorough).
Reply 

#24  un_pogaz 01-23-2020, 05:32 PM
4.9.1
Yes.
It's works.
Thanks you so mush Kovid.
Reply 

#25  kovidgoyal 01-24-2020, 10:55 PM
Quote Rev. Bob
I was just about to report that bug, but this does indeed fix it. (By the by, is there any way to stop this module from spontaneously inserting inline styles?)
no, there isn't.

Quote
Unfortunately, I have another 4.9 bug to report, which is unaffected by that patch. In the standard calibre "library list" view, highlighting multiple ebooks and selecting "Edit metadata individually" (either by typing "e" or using the context menu) brings up the bulk editor instead.
Will be fixed in the next release.

Quote

EDIT: Almost forgot, there's another comments-editor bug that's persisted through at least the last few versions. When highlighting a boldface word or phrase from right to left, highlighting the "last" character (the first one in the word) causes the "bold" button to switch to "normal" status and neither clicking it nor pressing control-B has any effect. The selection stays bold, and only by highlighting from left to right can the it be debolded. The same goes for italics and underlined text, and it manifests in both the "review downloaded metadata" and "edit metadata individually" comment environments (which I expect use the same coding, but it's good to be thorough).
that's a limitation of QTextEdit, not much I can do about it. formatting style applies left of cursor. When you select from right to left, left of cursor is before the formatting. You can see this in action by simply moving the cursor without doing any selecting.
Reply 

#26  Geremia 03-04-2020, 01:02 PM
I get this issue, too.

Calibre 4.x adds a blank line
Code
<p><br></p>
after each newline of comments added in Calibre 3.x and earlier versions, thereby "double-spacing" newlines. Why is this?
Reply 

#27  un_pogaz 03-05-2020, 04:39 AM
Read the topic

TLDR:
The problem arose with the use of the new QtWebEngine in V4.0.0.
The problem was solved in 4.9.1.

However, I discovered that old comments made before 4.9 still retain the <p><br></p>, but this is normal, Calibre will correct and update the comment only when YOU make a edition.
Reply 

#28  BetterRed 03-05-2020, 04:41 AM
There is no such thing a calibre 4.x. The current release is 4.11.2, if you are not using that version then you should install it.

As discussed in the preceding 20+ posts there were a couple updates in recent releases to address the 'blank lines in comments' issue.

BR
Reply 

#29  Geremia 03-26-2020, 12:02 PM
Quote BetterRed
The current release is 4.11.2, if you are not using that version then you should install it.
I'm using 4.12.
Quote BetterRed
As discussed in the preceding 20+ posts there were a couple updates in recent releases to address the 'blank lines in comments' issue.
Perhaps when I had Calibre 3 it put those empty <p> tags. Still, Calibre 4.12 doesn't strip them.
Reply 

#30  theducks 03-26-2020, 12:07 PM
Quote Geremia
I'm using 4.12.Perhaps when I had Calibre 3 it put those empty <p> tags. Still, Calibre 4.12 doesn't strip them.
Calibre never auto touches EXISTING STUFF. You need to clean existing comments.
Reply 

 « First  « Prev Next »  Last »  (3/4)
Today's Posts | Search this Thread | Login | Register