Bug 773362

Summary: The import cmd does not correctly import visible screen parts
Product: [Fedora] Fedora Reporter: Joachim Backes <joachim.backes>
Component: ImageMagickAssignee: Pavel Alexeev <pahan>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: nmurray, pahan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-13 10:41:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joachim Backes 2012-01-11 16:23:45 UTC
Description of problem:

1. I'm running F16 with gnome-shell and additionally nautilus.
2. Suppose, you run an application (for example firefox), and you iconify
   the firefox window by a double click on the window title.
3. Start an additional application, having a window.
4. Start the import command  (inside a shell window: import <target file>) and
   drag its cross over that application window for saving the copied window
   part into the <target> file.
5. Result: the <target file> does not contain the window part I copied with
   the import command by dragging the cross, but a part of the previously
   iconified window, which is not visible for the moment.

Version-Release number of selected component (if applicable):
ImageMagick-6.7.0.10-4.fc16.x86_64

How reproducible:
always

Steps to Reproduce:
1.See description
2.
3.
  
Actual results:
The wrong window is imported

Expected results:
The right window's part is imported

Additional info:

Comment 1 Pavel Alexeev 2012-01-12 14:04:15 UTC
I think I don't understand problem. Please can you provide screenshots?

Comment 2 Joachim Backes 2012-01-12 15:45:20 UTC
(In reply to comment #1)
> I think I don't understand problem. Please can you provide screenshots?

Again: STart somme application app1 having a desktop window with position and geometry <xpos,ypos,length,width>. Now iconify app1 by the window manager, so it is unvisible. Start another application app2 whose window has a position and geometry similar to app1.

Now import a  part of app2 with the import command to some gif file xy.gif (using the import double cross mouse pointer as selection tool).

What I wanted to say: after releasing the mouse pointer (finalizing the partial  window selection of app2), xy.gif does not contain the window parts of app2, but those of the iconified and therefore not visible app1 window.

I hope the description can be understood.

Peforming the above steps will show you what I meant.

Comment 3 Joachim Backes 2012-01-12 15:52:10 UTC
REmark: You may use thunderbird as app1 together with some arbitrary other application app2.

Comment 4 Pavel Alexeev 2012-01-12 15:57:51 UTC
I can't reproduce it.
What DE you are using?

And why what old ImageMagick version? 6.7.1.9-1.fc17 now in rawhide. Please try it first.

Comment 5 Joachim Backes 2012-01-13 06:25:24 UTC
Questions:

Sorry for the inconvenience: The report is dedicated to F16, not to rawhide.
That's my mistake. I apologize for that:-( I now modified the OS version to F16 in the BZ report.

Comment 6 Pavel Alexeev 2012-01-13 09:53:53 UTC
Meantime check that new version please. And say what DE used.

Comment 7 Joachim Backes 2012-01-13 10:26:56 UTC
(In reply to comment #6)
> Meantime check that new version please. And say what DE used.

Pavel,

1. if you mean "Desktop Environment" when saying "DE": I use F16, gnome3 with
   gnome-shell and nautilus.

2. After installing ImageMagick-6.7.1.9-2.fc17.x86_64.rpm from the rawhide repo,
   the import command runs as desired without flaw and stores the right window
   section.

3. Remark: The upstream version ImageMagick-6.7.4-5 from imagemagick.org runs
   flawlessly too similar to ImageMagick-6.7.1.9-2.fc17.x86_64.

Kind regards

Joachim Backes

Comment 8 Pavel Alexeev 2012-01-13 10:41:44 UTC
Ok, thank you.
Then closing.