View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016252||Scribus||Scrapbook||public||2020-09-25 12:30||2020-11-07 14:52|
|Fixed in Version||1.5.6.svn|
|Summary||0016252: Scrapbook issue in Windows|
|Description||When Scribus has the option "Send Copied Items Automatically to the Scrapbook" it is doing the following.|
Place and image in Scribus
Copy the image
This will create a folder in C drive with image name and place the image in that.
Is it a desired behaviour or does a some change should happen to it?
|Tags||No tags attached.|
This will appear in root drive of scribus installed drive.
This will happen only if scrapbook folder is readonly for some reason say an organization is keeping a shared scrapbook folder or something
||Unable to reproduce this issue here. When requesting scrapbook folder directory, we request system a writeable location. If you get system drive on your system, that means system had to use system drive as a last resort solution.|
OK. I will give a detailed description. I tried as Administrator of the local computer.
First of all our sribuc150.rc contains the following entry for Scrapbook
<ScrapBook WritePreviews="1" PersistentScrapbook="0" CopyToScrapbook="1" ScrapbookCopies="10">
<Recent Name="Z:\EDITORIAL\ScrapBook\General Library"/>
<Recent Name="Z:\EDITORIAL\ScrapBook\Icon Library Blue"/>
<Recent Name="Z:\EDITORIAL\ScrapBook\Icon Library Violet"/>
<Recent Name="Z:\EDITORIAL\ScrapBook\Icon News Box Blue"/>
<Recent Name="Z:\EDITORIAL\ScrapBook\Icon News Box Violet"/>
<Recent Name="Z:\EDITORIAL\ScrapBook\Local Library New"/>
<Recent Name="Z:\EDITORIAL\ScrapBook\Shared Items"/>
Now remove the "tmp" folder in "scrapbook" folder in "%UserProfile%\AppData\Roaming\Scribus\scrapbook"
Now create two folders one named "Scripts" and another named "TEMPLATE LIBRARY" in C drive
Now start scribus
Ensure "Send Copied Items Automatically to the Scrapbook" is ticked in Scribus Preference.
I assume you are running Scribus from "C:\ProgramFiles"
Now create a document in Scribus.
Create a textbox and add some text. Take a copy of the text box
Add and image to the textbox and take a copy.
Now you can see that Scribus will create .ScribusThumbs in C drive as well as a folder with Image name .
Now close Scribus. It will ask for saving the document. Click on Save or Discard.
It will remove the image name folder, which is OK. But the strange thing is that it will remove "Scripts" and "TEMPLATE LIBRARY" folder in C drive.
||It is not needed that the given entries should be in Scrapbook. The same was just given for Info. And the said folders have only read access to the user|
It is not needed that the given entries for Scrapbook should be in scribus150.rc file
>> Now remove the "tmp" folder in "scrapbook" folder in "%UserProfile%\AppData\Roaming\Scribus\scrapbook"
Thanks for the additional information. This is what causing the issue your are seeing. I've committed a fix so that scribus tries to recreate that directory if it is missing. I've also added some safeguard if that directory cannot be created for some reasons.
||Tested and found to be OK|
|2020-09-25 12:30||sreerajp||New Issue|
|2020-09-25 12:52||sreerajp||Note Added: 0048099|
|2020-09-25 14:13||jghali||Note Added: 0048100|
|2020-09-26 06:22||sreerajp||Note Added: 0048103|
|2020-09-26 06:26||sreerajp||Note Added: 0048104|
|2020-09-26 06:26||sreerajp||Note Added: 0048105|
|2020-09-26 18:36||jghali||Note Added: 0048107|
|2020-09-26 18:40||jghali||Assigned To||=> jghali|
|2020-09-26 18:40||jghali||Status||new => resolved|
|2020-09-26 18:40||jghali||Resolution||open => fixed|
|2020-09-26 18:40||jghali||Fixed in Version||=> 1.5.6.svn|
|2020-10-27 09:51||sreerajp||Note Added: 0048222|
|2020-11-07 14:52||cbradney||Status||resolved => closed|