View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0017857 | Scribus | Scripter | public | 2026-06-20 16:16 | 2026-06-21 14:19 |
| Reporter | JLuc | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Platform | Linux | OS | Ubuntu | OS Version | 24.04 |
| Product Version | 1.6.5 | ||||
| Summary | 0017857: docChanged(1) setRedraw(True) redrawAll() dont refresh display after columns # change | ||||
| Description | After `setColumns(1)` changing the number of columns in a text frame, - calling all 3 : `docChanged(1) setRedraw(True) redrawAll()` doesnt force the refresh of the screen. - inserting before these lines a width change : ``` theframe = scribus.getSelectedObject(0) width, height = scribus.getSize(theframe) scribus.sizeObject(width + 10, height, theframe) scribus.sizeObject(width, height, theframe) ``` does refresh the display See trial script in https://bugs.scribus.net/view.php?id=17849 | ||||
| Tags | display, refresh, scripter | ||||
| Patch | No | ||||
|
|
For your information: docChanged() and setRedraw() have probably nothing to do with forcing a redraw on screen. |
|
|
In the current Scribus development version, scribus.setColumns(2) does refresh the display. Without the need to call any other functions. I think that we can close this as "resolved". (p.s.: tested in both the console and by running a script in a Python file) |
|
|
Thanks for testing ale. I got 1.7.3 appimage and tested `scribus.setColumns(2)` in the scripter console and could see that the number of column is refreshed, but not the text layout : - the guideline positions are updated - not the text layout Going from 3 columns to 2 colums : text is still in "3 columns layout" : |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-06-20 16:16 | JLuc | New Issue | |
| 2026-06-20 16:16 | JLuc | Tag Attached: display | |
| 2026-06-20 16:16 | JLuc | Tag Attached: refresh | |
| 2026-06-20 16:16 | JLuc | Tag Attached: scripter | |
| 2026-06-21 07:13 | ale | Note Added: 0053855 | |
| 2026-06-21 07:16 | ale | Note Added: 0053856 | |
| 2026-06-21 07:48 | ale | Note Edited: 0053856 | |
| 2026-06-21 07:48 | ale | Tag Attached: #tobeclosed | |
| 2026-06-21 13:28 | JLuc | Note Added: 0053862 | |
| 2026-06-21 13:28 | JLuc | File Added: scribus 173 scripter change columns.jpg | |
| 2026-06-21 13:28 | JLuc | Note Edited: 0053862 | |
| 2026-06-21 13:29 | JLuc | Note Edited: 0053862 | |
| 2026-06-21 14:19 | ale | Tag Detached: #tobeclosed |