View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012190 | Scribus | Typography | public | 2014-04-03 13:21 | 2022-12-11 21:30 |
Reporter | PeterBenedek | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | x86 | OS | Linux Mint | OS Version | 16 (32bit) |
Product Version | 1.5.0svn | ||||
Target Version | 1.5.4 | ||||
Summary | 0012190: Incorrect text align in textbox when applying "Adjust Frame Height to Text" (see last line) | ||||
Description | Environment: Linux Mint 16 "Petra" Version: Scribus 1.5.0 (https://launchpad.net/~scribus/+archive/ppa) Language: HU "Fixed Linespacing" and "Align Baseline". Incorrectly aligns the last line, if use "Adjust Frame Height to Text" function. Link this video: https://www.dropbox.com/s/3nljdgdrzgy810b/example.avi | ||||
Additional Information | 1st pic: still everything ok 2nd pic: increased font size by 1 pt 3rd pic: maximum ascent 4th pic: font ascent 5th pic: Has this anything to do with that? text editor and marked all the text - there is no space or other sign, just enter for the next line. | ||||
Tags | #tobeclosed, layout, scribusctl | ||||
Patch | No | ||||
related to | 0014668 | new | Adjust frame height to text fails if frame is not tall enough to display text. | |
has duplicate | 0013350 | closed | jghali | Bug - Text Boxes 'Adjust Frame Height to Text' distorts formatting |
has duplicate | 0013542 | closed | jghali | Alignment of 2nd line changes |
has duplicate | 0012754 | closed | PeterBenedek | No "text align right" for last line of bottom aligned text |
has duplicate | 0016613 | closed | jghali | When adjusting frame height to text on a text box, the the justification of the text is lost |
related to | 0010430 | closed | Kunda | text frames lost preferences |
related to | 0015153 | confirmed | "Adjust Frame Height to Text" does not always work |
|
Confirmed on OSX 10.8.5 1.5.0svn r19415 |
|
Conversation started on ML: http://lists.scribus.net/pipermail/scribus-dev/2015-November/002732.htmlHello, I am working on the issue http://bugs.scribus.net/view.php?id=12190 From the behaviour of the problem I think that the problem hear comes from the code responsible of the "fixed linspacing" and "align to baseline grid". I found in scribusdoc.cpp the function itemSelection_SetLineSpacingMode. This function calls an other function called setLineSpacingMode(int) and pass integer variable represent the choice of the mode of the line spaceing (fixed = 0 , auto = 1 , align to baseline=2) . Unfortunately, I did not found the code of this function. Does any one has an idea ? Ibrahim |
|
Merged in to this ticket |
|
|
|
|
|
|
|
|
|
|
|
Persists on 1.5.2svn 21112 (post Host-Oman 'boxes' branch merge) |
|
|
|
Test document to check once fix is proposed for this ticket: https://bugs.scribus.net/file_download.php?file_id=5570&type=bug from 0010430 |
|
|
|
Upload test.zip (and the result 0012190.png) |
|
|
|
@PeterBenedek This is fixed in latest CTL Can you test it in CTL ? Download: https://transfer.sh/hH7YH/scribus-gite0a850c-glibc2.14-x86-64.appimage Do: chmod +x scribus-gite0a850c-glibc2.14-x86-64.appimage Run: ./scribus-gite0a850c-glibc2.14-x86-64.appimage Edit: Meaning I can't reproduce the bug shown in: https://www.dropbox.com/s/3nljdgdrzgy810b/example.avi |
|
|
|
Tested the appimage file. Excellent work! The original problem is really solved, but there is a small fault. If text not included (j, g, y, -- hanging character) and I use "Fixed line spacing, or "Align to Baseline Grid", it does not work well (example.mp4) |
|
@PeterBenedek Question, how are you triggering 'Adjust frame to Height of textbox' without using the mouse right click menu? What shortcut are you using? @fahad great work you guys did in CTL. As Peter mentioned above can you reproduce the remaining issue ? |
|
Double click at lower-middle point. This is an old feature. Further test results: 0012190.gif |
|
|
|
No at least for my limited testing time. If there is any bug in CTL branch, please submit it here: https://github.com/HOST-Oman/scribus/issues |
|
@peterbenedek do you mind opening this bug in CTL ? |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-04-03 13:21 | PeterBenedek | New Issue | |
2014-04-07 15:41 | JLuc | Tag Attached: layout | |
2014-08-12 21:54 | Kunda | Note Added: 0033240 | |
2014-08-12 21:54 | Kunda | Status | new => confirmed |
2014-08-12 21:54 | Kunda | Target Version | => 1.5.1 |
2015-09-14 13:56 | jghali | Relationship added | has duplicate 0013350 |
2015-11-15 15:30 | Kunda | Note Added: 0037501 | |
2015-11-18 10:04 | jghali | Relationship added | has duplicate 0013542 |
2015-11-18 11:23 | Kunda | Note Added: 0037533 | |
2016-01-15 20:26 | Kunda | File Added: center1.png | |
2016-01-15 20:27 | Kunda | File Added: center2.png | |
2016-01-15 20:27 | Kunda | File Added: center3.png | |
2016-01-15 20:27 | Kunda | File Added: center4.png | |
2016-01-15 20:27 | Kunda | File Added: center5.png | |
2016-01-15 20:28 | Kunda | Patch | => No |
2016-01-15 20:28 | Kunda | Additional Information Updated | |
2016-01-23 17:16 | cbradney | Target Version | 1.5.1 => 1.5.3 |
2016-03-24 14:46 | Kunda | Note Edited: 0037533 | |
2016-03-24 14:52 | Kunda | Note Added: 0039385 | |
2016-03-24 14:52 | Kunda | Summary | Incorrect text align in textbox (final line). => Incorrect text align in textbox when applying "Adjust Frame Height to Text" (see last line) |
2016-03-24 14:55 | Kunda | File Added: adjust-frame-to-height-bug.gif | |
2016-05-21 15:01 | Kunda | Relationship added | related to 0010430 |
2016-05-21 15:03 | Kunda | Note Added: 0041286 | |
2016-06-07 11:49 | PeterBenedek | Relationship added | duplicate of 0012754 |
2016-06-07 15:18 | PeterBenedek | Relationship deleted | 0012754 |
2016-06-07 15:19 | PeterBenedek | Relationship added | has duplicate 0012754 |
2016-06-07 15:51 | PeterBenedek | File Added: test.zip | |
2016-06-07 15:55 | PeterBenedek | Note Added: 0041626 | |
2016-06-07 15:55 | PeterBenedek | File Added: 0012190.png | |
2016-11-24 14:26 | Kunda | Note Added: 0042526 | |
2016-11-24 14:27 | Kunda | Tag Attached: #tobeclosed | |
2016-11-24 14:31 | Kunda | Tag Attached: scribusctl | |
2016-11-24 14:33 | Kunda | Note Edited: 0042526 | |
2016-11-25 08:07 | PeterBenedek | File Added: example.mp4 | |
2016-11-25 08:18 | PeterBenedek | Note Added: 0042544 | |
2016-11-25 10:12 | Kunda | Note Added: 0042545 | |
2016-11-25 11:17 | PeterBenedek | Note Added: 0042548 | |
2016-11-25 11:30 | PeterBenedek | Note Edited: 0042548 | |
2016-11-25 11:30 | PeterBenedek | File Added: 0012190.gif | |
2016-11-25 16:50 | Fahad | Note Added: 0042553 | |
2016-11-25 21:43 | Kunda | Note Added: 0042554 | |
2016-12-08 22:04 | Kunda | Target Version | 1.5.3 => 1.5.4 |
2018-02-22 07:58 | PeterBenedek | Relationship added | duplicate of 0015153 |
2021-08-11 05:07 | PeterBenedek | Relationship added | duplicate of 0016613 |
2021-08-11 14:16 | jghali | Relationship replaced | has duplicate 0016613 |
2022-02-06 20:41 | jghali | Relationship replaced | related to 0015153 |
2022-12-10 17:42 | JLuc | Relationship added | related to 0014668 |
2022-12-11 18:46 | PeterBenedek | Relationship added | has duplicate 0016871 |
2022-12-11 21:30 | jghali | Relationship deleted | has duplicate 0016871 |