| Summary: | [Bidi] Origin is 1, 0 in RIGHT_TO_LEFT Canvas | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Knut Radloff <knut_radloff> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Felipe Heidrich <eclipse.felipe> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ppshah, rmraya | ||||
| Version: | 2.1 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 2000 | ||||||
| Whiteboard: | stalebug | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 30434 | ||||||
| Attachments: |
|
||||||
|
Description
Knut Radloff
Created attachment 4837 [details]
test case
Replacing drawString() by drawText() works as expected. The fact that mouse down events are not received on x=0 is not relevant for the StyledText case, agreed ? FH, SSQ and SN to get to the bottom of this. StyledText bidi uses ExtTextOut so this has to work (or we have to work around it). We wouldn't necessarily care about the mouse event but clients may. The problem is not caused by origin off by 1. There is a problem that you cannot click on any pixels in the column (0,0) in the widget and get a mouse event. This is a problem in Windows but is not the cause of the pixel corruption. So, we need to close this PR as a dupliacate of 4776 (first renaming it to talk about the pixel corruption and not talk about the origin) and then enter a new PR that captures the bug in Windows. Knut, agree? I think this bug adequately captures the origin/mouse event problem. No need for a separate bug. It does seem that the StyledText cheese is related to the measurement problem discussed in bug 4776 and not by this origin problem. *** Bug 92825 has been marked as a duplicate of this bug. *** Is the title of this bug still correct? Based on comment 2 and bug 92825, it seems like there is a problem isolated to drawString(). 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. |