| Summary: | [Widgets] Multi-monitor: negative coordinates issues | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Christophe Cornu <christophe.cornu+eclipse> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | Felipe Heidrich <eclipse.felipe> |
| Severity: | normal | ||
| Priority: | P3 | CC: | andre.malenfant, michschn, snorthov |
| Version: | 2.1 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows All | ||
| Whiteboard: | stalebug | ||
|
Description
Christophe Cornu
Andre,
Can you run the code snippet below and tell us if the Window correctly shows up
on your left monitor (coordinate x = -200)? It should...
Thank you,
Chris
import org.eclipse.swt.widgets.*;
public class PR34239 {
public static void main(String[] args) {
Display display = new Display();
Shell shell = new Shell(display);
shell.setBounds(-200, 50, 100, 100);
shell.open();
while (!shell.isDisposed()) {
if (!display.readAndDispatch())
display.sleep();
}
}
}
I ran the class and the window did appear at coord 0, 50). I tried different values and it appears that the negative coordinates are interpreted as 0. FH to retest this on multi-monitor to verify that the window is coming up in the right place for SWT. Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info. This is a one-off bulk update. (The last one in the triage migration). Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process: https://wiki.eclipse.org/SWT/Devel/Triage See Bug 518478 for details. Tag for notification/mail filters: @TriageBulkUpdate This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |