| Summary: | [patch] selection items appear in the wrong layout when right to left orientation is chosen | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | elhanan Maayan <elh.mailgate> | ||||||||
| Component: | Mylyn | Assignee: | Project Inbox <mylyn-triaged> | ||||||||
| Status: | CLOSED MOVED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P2 | CC: | shawn.minto, steffen.pingel | ||||||||
| Version: | unspecified | Keywords: | helpwanted | ||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
elhanan Maayan
Created attachment 154539 [details]
this also happens in other combos
enclosed an example of the combo of dates
Shawn, let's take a look at that together. I can confirm that this is reproducable on Linux/Gtk with Eclipse 3.6M4. check out the difference between 3.3.0 and 3.3.1 in mylyn, that's when it started to go wrong. i believe the issue is in AbstractInPlaceDialog constructor where it calculcates bounds. doing this: bounds = openControl.getParent().getBounds(); Point absPosition = openControl.getParent().toDisplay(openControl.getLocation()); bounds.x = absPosition.x - bounds.x; bounds.y = absPosition.y + bounds.y; Created attachment 184464 [details]
after some testing
Created attachment 184535 [details]
fix for Right to left issue
this is not the fix i originally wanted, but i dont have access to the form's toolkit so at least if the entire application will be in rtl, it will match
Thanks for the patch. Shawn, what are your thoughts? We are past the contribution deadline for 3.5. Sorry I missed this. Moving to the next release cycle. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |