Community
Participate
Working Groups
I just tried the attach screenshot feature against my jira connector task, and when I hit capture desktop I got: actual desktop: [ monitor one, secondary, full screen eclipse ] [ monitor two, primary, full screen firefox ] the captured image ended up being: [monitor-two'simage][completely white] I can only speculate that this is because of assumption that the primary is to the left of the secondary, which in this case it is not.
Created attachment 89885 [details] screenshot of the attach screenshot dialog Note the left part of the image; that is actually the application on my RIGHT side, primary monitor (notice the start menu). The right part of the image is completely blank, likely because it tried to capture to the "right of" the primary monitor, but my secondary is to the left of it.
Willian: have you seen this? I've never had it malfunction this way, but notably my secondary monitor has always been on the right. Eddie: does this behavior persist if you restart? If not, what if you switch the order of your monitors? I don't have a second monitor plugged in right now to try. The challenge is that we're using a built-in facility for desktop capture so I'm not sure how easily we'll be able to work around this.
Created attachment 90060 [details] screenshot after restart screenshot taken from attach screenshot button from bug 219171 task editor, in another instance of eclipse. eclipse left monitor (secondary) web browser right monitor (primary)
Created attachment 90061 [details] screenshot, eclipse primary monitor web browser secondary (left) i moved eclipse, non maximized, to my right primary monitor, browser now on left secondary. screenshot only captured primary monitor w/ eclipse, secondary not showing.
I've attached the screenshots, they are all only a portion of it, i cropped the portion that was in the 'middle' of the screenshot each time. i'll "switch" monitor order now and try again, I almost expect that to work :)
Created attachment 90062 [details] proper capture when i told windows my primary (1) was left-of secondary (2) [even though physically this isnt true], the screenshot now properly captures everything.
(In reply to comment #2) > Willian: have you seen this? I've never had it malfunction this way, but > notably my secondary monitor has always been on the right. Actually, I use only 1 monitor, although my video card supports 2 outputs. I'll setup another monitor tonight and make some tests here.
This is actually a SWT bug. Opened bug#219716. Eddie, please post a comment there providing which version of Eclipse you are using.
Willian: thanks for tracking that down! *** This bug has been marked as a duplicate of bug 219716 ***
Reopening, since this is actually a bug in Mylyn handling multi-monitor capture. Explanation is in bug#219716. I'll post a patch soon.
Created attachment 96558 [details] Patch I actually didn't test this patch because I don't have a second monitor available right now. But this should work according to the explanation from Silenio. Mik or Eddie: can any of you please verify if this solution works?
Created attachment 96559 [details] mylyn/context/zip
Willian: could you please recreate against the new commons.ui project, or just paste in the entire method?
Created attachment 100786 [details] Updated patch
Created attachment 100787 [details] mylyn/context/zip
Patch applied, looks good. Haven't verified with multi-monitor setup yet.
Mik, or others, remind me where your plugins are in source (or point me to the wiki page that has that info?) and I'll try the patch against my multi-monitor setup.
Eddie, you can get all source from HEAD by importing this .psf file: http://www.eclipse.org/mylyn/doc/dev/mylyn.psf