Enhancement Request: Copy text alignment between html longtext columns

Bug #2012760 reported by ownedbycats
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Charles Haley

Bug Description

Calibre 6.14.1

When copying some text from the default 'comments' column to a custom #seriesdescription, formatting (italics, bolds) is copied but not text alignment (I use justified). If there aren't any reasons against it, would like the text alignment also copied.

Thanks in advance.

Revision history for this message
Kovid Goyal (kovid) wrote :

Changing the component for this bug.

 assignee
 status

Changed in calibre:
assignee: nobody → Charles Haley (cbhaley)
status: New → Triaged
Revision history for this message
Charles Haley (cbhaley) wrote :

Apparently Qt sets the alignment of pasted text to the alignment of the current paragraph. I don't know how to change this, or even if it should be changed.

To demonstrate, copy the justified text. Go to the destination field, type 1 character, change the alignment of that character to justified, then paste the text. The result will be justified. Pasting it again is also justified.

Again, and apparently, the alignment of an empty field is "left". I have no idea how to change that.

Changed in calibre:
status: Triaged → Won't Fix
Revision history for this message
Charles Haley (cbhaley) wrote :

PS: this is all done in gui2.comments_editor.py.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.