Recent posts

#91
Scripts and Plugins / Re: Unlink Text Frames and Cut...
Last post by a.l.e - November 09, 2023, 08:21:03 AM
i fully agree that it does not happens often, but it still would be nice if it would never happen : - )

and i also agree that it's probably a pain to manually fill those lists.

i did a quick search and i've found two possible approaches:

- https://stackoverflow.com/questions/45090926/cmake-generate-list-of-source-files-without-glob : creating a script that can update the CMakeLists files.
- https://stackoverflow.com/a/30433150/5239250 : using cog, a python app (simple cog commands are written as CMakeLists comments and cog takes care of updating the generated list "in place").

the third possible approach is to create a script that generates the lists and then let the developer manually fix the list when files change (i guess that then cmake will trigger an error and, most of the time, only very few files are changing at once).


what do you think? would it for you be an option to use such a script if i provide the patches?
#92
Beginner Talk / Re: How to remove text frame b...
Last post by noble - November 09, 2023, 12:00:23 AM
Thank You
#93
User Interface / Re: toolbar icons
Last post by tim_occ - November 08, 2023, 10:53:03 PM
Hi Darkoni,

please, can you tell me what is your OS theme? And can you check how it looks like with the standard adwaita theme?

The base icon color is always the same as the UI text color. The automatic dark/light theme detection is only used to load different color definitions from icon theme, like a dark red instead of a light red and vice versa.

In your case, everything looks like disabled.
#94
User Interface / Re: Indigo UI: the properties ...
Last post by tim_occ - November 08, 2023, 10:34:06 PM
Hi all,

I just want to give an update about the current implementation / changes of the properties panel.

Right now, I updated 3 sections (XYZ, Shape and Line). I also added a function to toggle the visibility of the smaller labels. In that way, it is possible to have a beginner-friendly mode with more explanation or a professional mode with more space-saving UI, also a nice thing for small screens.

Have in mind it is work in progress, and I'm happy to get your feedback.
#95
Scripts and Plugins / Re: Unlink Text Frames and Cut...
Last post by MrB - November 08, 2023, 08:26:45 PM
No, it cannot .. cmake docs even recommend to not use GLOB to collect the source file list.. but the alternative is to type in all the file names.. less interesting compare to a rare event where we change the name of a file
#96
Beginner Talk / Re: How to remove text frame b...
Last post by RodneyLee - November 08, 2023, 01:28:18 PM
try  "Preview" First
#97
Beginner Talk / How to remove text frame black...
Last post by noble - November 08, 2023, 12:09:45 PM
How do you remove text frame black dotted outlines as in image attached ? I have grouped text and image together(would I need to ungroup or something) thank you
#98
Scripts and Plugins / Re: guidesLock
Last post by a.l.e - November 08, 2023, 12:04:11 PM
yep, those might be the files you need to change.

for reference, here is a recent example, of a new command added to the scripter:

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

and, yes, you need to upload the diff file to the bug tracker.

concerning this specific patch, i think you will need to add an optional parameter to the command.

something like:

guidesLock(lock = True)

and also allow to disable the lock from the scripter.

and probably also

areGuidesLocked() or guidesLocked()

to check the current state.
#99
Raster and Vector Graphics / Re: Importing an Image into Sc...
Last post by Kaotus - November 08, 2023, 04:49:46 AM
Appreciate the kind words - I checked and also don't see any color management occurring in the document - though I do still see the Scribus image having a more pink tone than the left image - working on trying to use a color picker to try to identify just how big of a shift it is, and while I'm likely to substitute that picture for a different one regardless, it's definitely something I'd like to watch out for in case it happens with another picture in the doc. It hasn't happened to any other pictures, though this is the first picture I've taken in RAW and exported to Jpeg. Could that be affecting things for some reason? Even if the Jpeg itself looks as expected
#100
Scripts and Plugins / guidesLock
Last post by Darkoni - November 07, 2023, 10:38:58 PM
I needed a script function that locks document guides.

In my Python script, I called it:

scribus.guidesLock()

To make it work, I changed three files in Scribus 1.7.0.svn trunk:

scriptplugin.cpp
cmdtext.h
cmdtext.cpp

Here is addition for cmdtext.cpp

PyObject *scribus_guidesLock(PyObject* /* self */, PyObject* args)
{
ScribusDoc* doc = ScCore->primaryMainWindow()->doc;
doc->lockGuides(true);
Py_RETURN_NONE;
}

It needs some status checking, but for now it fits my needs :-)

My question is: How and where to submit code changes?

Best regards,

Darkoni