| Summary: | Measure event always comes before an Erase/Paint event on Mac and Windows, but not on GTK | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Boris Bokowski <bokowski> | ||||
| Component: | SWT | Assignee: | Bogdan Gheorghe <gheorghe> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniele.dimauro, daniel_megert, dwain.bethel, gattacus, gheorghe, grant_gayed, markus.kell.r, martinae, Mike_Wilson, pinnamur, remy.suen, Silenio_Quarti, snorthov, tom.schindl | ||||
| Version: | 3.4 | ||||||
| Target Milestone: | 3.6 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 228397, 292198 | ||||||
| Attachments: |
|
||||||
|
Description
Boris Bokowski
Created attachment 97479 [details]
snippet
Might not get to this until after M7. Reminder that this is still a pain. Can we put it on the list for 3.5? Do you plan to address this in 3.5? Boris, measure events can come with no corresponding erase or paint (for example, when packing a column). Is this a problem? I think that the GTK behavior indicates a bug but I can't get to it right now. Please find me and force me to look at it. Can this be looked at for 3.6? Bogdan, let's investigate this one. this could be the cause of bug 288565 It most probably is the cause of 288565. I have a potential fix for this in a workspace - it'll be the first thing I do after M2 is out. Fixed in HEAD > 20090924 *** Bug 288565 has been marked as a duplicate of this bug. *** It says that this bug is resolved in head 20090924 which I am guessing is the build ID. I just downloaded eclipse from eclipse.org today and my build ID is 20090920-1017 which still has that problem. How can I get that build with the fix in it? (In reply to comment #12) > It says that this bug is resolved in head 20090924 which I am guessing is the > build ID. I just downloaded eclipse from eclipse.org today and my build ID is > 20090920-1017 which still has that problem. How can I get that build with the > fix in it? What download did you get? What is its name? The fix was for 3.6.x, not 3.5.x. 20090924 is the date when the fix got committed to HEAD *not* the build id. You just need to pick any 3.6 build that was built after 20090924 and it will contain the fix. *** Bug 305843 has been marked as a duplicate of this bug. *** In JFace 3.6.1 in StyledCellLabelProvider this bug is mentioned with a temporary change: /* remove-begin if bug 228695 fixed */ itemOfLastMeasure = event.item; elementOfLastMeasure = event.item.getData(); /* remove-end if bug 228695 fixed */ and more.This should be removed if feasible because elementOfLastMeasure is a reference to a domain-object which cannot be accessed/removed. Due to the strong reference a lot of memory is leaked in my case. (In reply to Missing name from comment #16) The workarounds were removed for 3.7, see bug 292198 comment 3. |