Recent posts

#2
Scripts and Plugins / Re: Scripter: is LayerLocked
Last post by a.l.e - January 20, 2025, 06:58:36 PM
yep, isLayerLocked() is inverted...

it returns the value of Layers[...]->isEditable.

would you mind opening a ticket for it in the bug tracker, https://bugs.scribus.net ?
#3
Scripts and Plugins / Scripter: is LayerLocked
Last post by GBW - January 20, 2025, 01:03:58 PM
Having just started to write some simple scripts to control the layer condition prior to exporting to pdf, I have come across what seems like an anomoly. (Maybe I have misunderstood). Essentially the results when calling isLayerLocked(layer) with a script in the console, the values seem incorrect as shown in the attached illustration (layers 2,3 4 for example are not locked but rated 1 = locked:
Can anyone explain?
#4
User Interface / Hyperlinks as text properly
Last post by a.l.e - January 17, 2025, 07:20:30 PM
This is a topic that comes up from time to time: defining hyperlinks as a text property.

Now that we have a sane table of contents, it's even more relevant.

As you probably have guessed (mostly from the fact that Scribus does not have it yet...), it's not trivial to add this feature.

For once it's not the usual suspect: it's not that hard to add the link when generating the PDF.

In this thread I'd like to have a discussion on the challenges, on the features to prioritize, on possible solutions.

For the start, here are a few thoughts of mine.
In random order.

How to define how the link will be visually rendered in the pdf viewer? From my experience, I have the feeling, that some authors want to style them... (But we might be able to solve this with "simple" char styles).
Does it need to be shown in the same way on the canvas and in the viewer?
What about the view on hover?

Next: how to store them in the .sla?
Personally. I wonder why we can't store them like all the other formatting.
Are there better solutions?

Where should be the widget for editing the link properties?
Just like now, in a popup, displayed on demand?
In a new section of the text palette?
A new dockable palette?
A toolbar?

How to define the target for dynamic links, like the one in the table of contents?
How to delete the ones that are not in use anymore?
Are they only valid until the next edit?
Are the generated on the fly when producing the PDF?

But also for the other internal targets, how can we avoid that the user has to scroll around like crazy?

How to render the links on canvas?
One has to find them again...
We cannot show them in blue and underlined!
Or we can, and it's up to the user to define (import) a better char style?
And if they choose to give them the same appearance as the surrounding text, it will be their challenge to find them...
Well, we could improve the search tool and allow to search for links (and tatgets).
Or we could add a new tab to the outline panel (or add a new panel...), listing all the links and allowing to jump to them and/or their internal target.

Voilà, enough for today.

I've already created a ticket in the bug tracker

https://bugs.scribus.net/view.php?id=17281

But i think it is better to first have a discussion in here... If anyone wants to partipate : - )
#5
Beginner Talk / Re: Basic image questions
Last post by Nermander - January 17, 2025, 04:13:04 PM
Ah I usually say: In Scribus, Master pages are "page backgrounds".

To save page layouts for "reuse" I recommend using the scrapbook:
 1. Design the page layout on a temporary page
 2. Select all contents on the page
 3. Send to scrapbook
 4. Delete the contents on the page
 5. Go to a page and double-click the scrapbook entry and voila, it is inserted on the page in the same location as it was when sent to the scrapbook.

You can also drag and drop entries from the scrapbook, but then they are placed where you drop them (which is not very useful for full page layouts).
#6
Installation and Setup / Re: Scribus 1.6.1 Dark Mode in...
Last post by AdmFubar - January 16, 2025, 03:58:06 PM
That dark mode is rather special in linux as i am running kvantum, kvantum renders everything as a svg and makes programs look amazing.
There is an issue with the font menu drop down that I'm hoping will be fixed with in the next version.
#7
Installation and Setup / Re: Scribus 1.6.1 Dark Mode in...
Last post by mmac - January 16, 2025, 12:48:04 PM
Quote from: kn0 on April 07, 2024, 03:22:13 PMI can confirm this to work. Once Scribus is started with "Scribus.exe -platform windows:darkmode=2", one can also switch from light to dark and vice versa in Windows Settings and Scribus adjusts automatically without restart (Icons still must be adjusted manually in the Scribus preferences). So the easiest fix would be for now to always start Scribus with that command?

However, unfortunately, this dark mode is not the most appealing. Attached you can find screenshots with the various Themes I can pick. blank and windowsvista (I think they may be the same) have (terrible) white borders all over the place. Fusion has amongst others errors when displaying inactive menu elements. Also, all of them seem to pick black instead of Windows' darker gray for dark coloring.

The screenshot @AdmFubar posted of dark mode in Linux looks much more polished.

Hey all, I just downloaded Scribus and started with changing the theme to dark mode on Windows 11. So far only the solution of @kn0 worked for me and I simplified the starting by making a shortcut "Scribus Dark" with a file location:

"C:\Program Files\Scribus 1.6.3\Scribus.exe" -platform windows:darkmode=2

I hope it helps someone. It is still black and not nice grey, but still a progress. Thank you everyone for your input!
#8
I downloaded the ts file from Transifex, released it into a qm and copied this resulting file into the Scribus 1.6.3 installation and PRESTO the New document dialog is in Dutch language proper.
#9
Do you think this only affects the Dutch translation or could this also play with other translations?
Could this be a cue for a fix update?
#10
User Interface / Re: Indigo UI: Outline Palette
Last post by tim_occ - January 15, 2025, 07:59:05 PM
Great feedback.

@bubu Inkscape was a good hint. They have a good solution for the icon cluttering mentioned by @a.l.e

Update:
1. On item hover you see all toggle options (visibility + print)
2. Only changed toggle options are visible

I didn't fix the indent yet, but I agree that the panel should be as narrow as possible, especially when (in theory) and endless nesting of items is allowed and each nesting has an indent.

QuoteAfter several years, I'm still convinced that deselecting the current item should not make the view in the outline jump around...
Yes, if no item is selected, there is no highlight in the outliner. As long as we don't have page properties in PP panel, it makes sense like this.