Default value recomputed but not refreshed in UI on Linux [message #1639384] |
Fri, 27 February 2015 16:09  |
Eclipse User |
|
|
|
Hi folks,
I've found out that a value (re)computed by DefaultValueService is not refreshed immediately in Linux as it is in Windows - it seems like "lost focus" event of the affected property editor is required. Is there a way to change the behavior to be the same as it is in Windows?
A problem with the current behavior is that users might not see the up-to-date default value (which in my case depends on other data entered by user), thus are not able to decide whether to keep it or provide a non-default one.
Thanks in advance,
Ondrej
[Updated on: Fri, 27 February 2015 16:11] by Moderator Report message to a moderator
|
|
|
Re: Default value recomputed but not refreshed in UI on Linux [message #1639416 is a reply to message #1639384] |
Fri, 27 February 2015 16:27   |
Konstantin Komissarchik Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
It's possible that there is a difference in the way that paint events are issued on Windows and Linux. I don't have ready access to a Linux machine to investigate this right away. The relevant code is in TextOverlayPainter and TextFieldPropertyEditorPresentation classes. Could you take a look at how it behaves on Linux. Maybe we need to force a re-paint when the default value changes instead of relying on the system to trigger one.
Also, please open a bug to track this issue.
[Updated on: Fri, 27 February 2015 16:27] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.01662 seconds