Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 484179 - Overlay location is wrong while arranging views by Drag&Drop if window is partially outside monitor bounds
Summary: Overlay location is wrong while arranging views by Drag&Drop if window is par...
Status: CLOSED DUPLICATE of bug 492842
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-11 04:47 EST by Yurii Polek CLA
Modified: 2016-05-05 04:20 EDT (History)
4 users (show)

See Also:


Attachments
screenshot (202.36 KB, image/png)
2015-12-11 04:47 EST, Yurii Polek CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yurii Polek CLA 2015-12-11 04:47:58 EST
Created attachment 258601 [details]
screenshot

Reproducible with CentOS 6.6 (GNOME 2.28.2)

Steps to reproduce:
1. Move Eclipse window to be partially outside monitor bounds.
2. Try to move any view by DnD.
Notice grid overlay location is wrong. (See attached screenshot)
Comment 1 Yurii Polek CLA 2015-12-11 10:55:12 EST
Overlay location is set in org.eclipse.e4.ui.workbench.addons.dndaddon.SplitFeedbackOverlay by calling feedbackShell.setBounds(dragShell.getBounds()).
feedbackShell's location is wrong because org.eclipse.swt.internal.gtk.OS.gtk_window_move(long, int, int) (called from Shell#setBounds) can't move shell outside screen bounds.
Comment 2 Patrick-Jeffrey Pollo Guilbert CLA 2016-05-04 17:33:16 EDT
This seems to be a duplicate of https://bugs.eclipse.org/bugs/show_bug.cgi?id=492842 which now has a working workaround in the latest integration build.
Comment 3 Lars Vogel CLA 2016-05-05 04:20:10 EDT

*** This bug has been marked as a duplicate of bug 492842 ***