View Issue Details

IDProjectCategoryView StatusLast Update
0007743ScribusGraphics / Image Framespublic2009-01-22 18:49
ReporterOssiLehtinen Assigned Tosubik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version8.10
Fixed in Version1.3.5svn 
Summary0007743: Image frame preview resolution not preserved when using "Get Image"
DescriptionIf one has an image frame with preview resolution set to something non-normal, and one uses get image to replace the contents of the frame, the preview resolution is set to normal.

I think it would be better to preserve the previous setting.

The attached diff seems to fix it for me. It just changes the reload parameter of the loadPict function to true. Don't know if this breaks something else, but haven't noticed anything so far.
TagsNo tags attached.
Patch

Activities

2009-01-21 18:07

 

preservePreviewResolutionOnGetImage.diff (640 bytes)   
Index: Scribus/scribus/scribus.cpp
===================================================================
--- Scribus/scribus/scribus.cpp	(revision 13075)
+++ Scribus/scribus/scribus.cpp	(working copy)
@@ -4156,7 +4156,7 @@
 				currItem->IRender = doc->CMSSettings.DefaultIntentImages;
 				qApp->changeOverrideCursor( QCursor(Qt::WaitCursor) );
 				qApp->processEvents(QEventLoop::ExcludeUserInputEvents);
-				doc->LoadPict(fileName, currItem->ItemNr, false, true);
+				doc->LoadPict(fileName, currItem->ItemNr, true, true);
 				//view->AdjustPictScale(currItem, false);
 				//false was ignored anyway
 				currItem->AdjustPictScale();

subik

2009-01-21 19:57

manager   ~0020957

cool. It's in SVN.

I'm looking forward next patches ;)

Issue History

Date Modified Username Field Change
2009-01-21 18:07 OssiLehtinen New Issue
2009-01-21 18:07 OssiLehtinen File Added: preservePreviewResolutionOnGetImage.diff
2009-01-21 19:46 subik Status new => assigned
2009-01-21 19:46 subik Assigned To => subik
2009-01-21 19:57 subik Note Added: 0020957
2009-01-21 19:57 subik Status assigned => resolved
2009-01-21 19:57 subik Fixed in Version => 1.3.5svn
2009-01-21 19:57 subik Resolution open => fixed
2009-01-22 18:49 cbradney Status resolved => closed
2015-09-17 20:10 Kunda Category Graphics / Image Frames => Graphics/Img Frames
2015-09-17 20:11 Kunda Category Graphics/Img Frames => Graphics / Image Frames