Bug 101550 - Selected objets are printed out for sequence diagrams
Summary: Selected objets are printed out for sequence diagrams
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 15:07 UTC by Anton G. Alvedro
Modified: 2005-09-21 23:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton G. Alvedro 2005-03-15 15:07:56 UTC
Version:           1.3.92 (using KDE 3.2.3, compiled sources)
Compiler:          gcc version 3.3.3
OS:                Linux (i?86) release 2.2.14-5.0

If a diagram is printed out with objects selected, that objects appear selected on paper as well. This prevents arrow direction to be readable in sequence diagrams, for example. I've observed this behavior in sequence diags, but may be present in other kind of diagrams as well.

Not sure if this is the desired behavior, but I can't imagine any reason why this should happen. On the contrary, one expects the printed version to have a kind-of final touch.
Comment 1 Oliver Kellogg 2005-09-21 23:33:12 UTC
SVN commit 462716 by okellogg:

exportImage(): Apply Peter Soeten's idea of calling clearSelected(), see
http://sourceforge.net/mailarchive/forum.php?thread_id=8254412&forum_id=472
BUG:101550


 M  +3 -3      ChangeLog  
 M  +2 -0      umbrello/umlview.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #462715:462716
@@ -10,9 +10,9 @@
 
 * Bugs fixed / wishes implemented (see http://bugs.kde.org)
  57588  57672  58809  66461  67120  67719  72016  79433  87252  88117
- 97162 105564 108223 109591 109636 110073 110216 110231 110379 111088
-111470 111502 111759 111768 112017 112292 112293 112333 112531 112552
-112936 112991 112992
+ 97162 101550 105564 108223 109591 109636 110073 110216 110231 110379
+111088 111470 111502 111759 111768 112017 112292 112293 112333 112531
+112552 112936 112991 112992
 
 Version 1.4.2 (maintenance release)
 
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlview.cpp #462715:462716
@@ -1500,6 +1500,8 @@
 
     if (fileDialog.selectedURL().isEmpty())
         return;
+    clearSelected();   // Thanks to Peter Soetens for the idea
+
     // save
     imageMimetype = fileDialog.currentMimeFilter();
     if (app) app->setImageMimetype(imageMimetype);