Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 401046

Summary: monitor.getClientArea reports too large value on Linux
Product: [Eclipse Project] Platform Reporter: Thomas Singer <eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, ericwill, Silenio_Quarti
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Sample none

Description Thomas Singer CLA 2013-02-18 03:35:48 EST
Created attachment 227183 [details]
Sample

When I run the attached sample on a Ubuntu 12.04 default installation with a dual monitor system (1366x768 notebook and external 1920x1200 HDMI), it returns too large values for getClientArea:

Monitor count: 2
 bounds: Rectangle {0, 0, 1920, 1200}   clientArea: Rectangle {49, 24, 3237, 1176}
 bounds: Rectangle {1920, 0, 1366, 768}   clientArea: Rectangle {1920, 0, 1366, 768}

IMHO, the clientArea never must be larger than the bounds.
Comment 1 Eric Williams CLA 2018-05-03 11:25:54 EDT
I can't reproduce this issue, is it still a problem Thomas?
Comment 2 Thomas Singer CLA 2018-05-08 03:03:04 EDT
I can't reproduce the problem on Fedora 28.
Comment 3 Eric Williams CLA 2018-05-15 11:22:22 EDT
(In reply to Thomas Singer from comment #2)
> I can't reproduce the problem on Fedora 28.

I'll close it then, please re-open if you experience the bug again.