Bug 210028 - [mac] screenshot tool does not capture multiple displays properly
Summary: [mac] screenshot tool does not capture multiple displays properly
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P4 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-11-15 16:20 EST by Leo Dos Santos CLA
Modified: 2008-04-25 13:14 EDT (History)
4 users (show)

See Also:


Attachments
Example (288.97 KB, image/jpeg)
2007-11-15 16:21 EST, Leo Dos Santos CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Dos Santos CLA 2007-11-15 16:20:22 EST
Using Mylyn's 'Capture Desktop' feature, one of my displays is drawn over top the other.
Comment 1 Leo Dos Santos CLA 2007-11-15 16:21:57 EST
Created attachment 83003 [details]
Example

Example demonstrating the problem.
Comment 2 Leo Dos Santos CLA 2007-11-15 16:23:42 EST
I forgot to mention that I'm running Mac OS X 10.5. I don't know if this problem exists on previous versions of OS X.
Comment 3 Leo Dos Santos CLA 2007-11-15 16:43:12 EST
On bug 206888 Willian Mitsuda suggested:
> Maybe a bug on SWT/Mac?
> 
> If you want to take a look, the capture code is on
> ScreenshotAttachmentPage.captureScreenshotContent() method. It is very simple:
> it just creates a GC over Display.getDefault(), and uses GC.copyArea() to copy
> the display image into a Image object, which is drawn as-is in the editor
> canvas.
Comment 4 Willian Mitsuda CLA 2008-02-20 20:13:00 EST
Leo, I posted an SWT code snippet on bug#219716 for another different bug, but we can use it to confirm this one.

Can you please run it and confirm that it is an SWT bug?

And what is your monitor positioning? There is an bug in Windows when the primary monitor is at right or bellow the secondary (bug#219171).
Comment 5 Leo Dos Santos CLA 2008-02-20 20:46:33 EST
Yes, the last time I looked into this my impression was that the bug lay in SWT. I'm in the process of moving to 3.4 this week and I was hoping to look into this bug with the lastest SWT, so this is perfect timing.

As for monitor positioning, my primary is on the left, although I don't recall any difference when I set the primary to be the right monitor.
Comment 6 Leo Dos Santos CLA 2008-02-22 20:49:37 EST
I've run the snippet and it fails to properly capture my dual monitor setup, regardless of how I configure primary/secondary monitor * left/right positioning. I'll re-assign to SWT.
Comment 7 Leo Dos Santos CLA 2008-02-22 20:52:56 EST
... or request re-assignment to SWT.
Comment 8 Willian Mitsuda CLA 2008-02-23 15:30:04 EST
Good! Some commiter can please move it to SWT?
Comment 9 Silenio Quarti CLA 2008-04-17 17:16:30 EDT
Fixed > 20080417. Finally got my Mac setup for duo monitor