| Summary: | JpaCompletionProposalComputer and JpaJpqlCompletionProposalComputer require UI Thread | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Vaclav Kadlcik <vkadlcik> | ||||||||
| Component: | JPA | Assignee: | Mickael Istria <mistria> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | Nick Boldt <nboldt> | ||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | eclipse, Lars.Vogel, mat.booth, mcoufal, mistria, narayana.nekkanti, thatnitind, vrubezhny | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | 3.21 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Linux | ||||||||||
| See Also: |
https://git.eclipse.org/r/164508 https://git.eclipse.org/r/c/dali/webtools.dali/+/164508 https://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=9a02ed70b75c126655fe862230b13e518ce8ff36 https://git.eclipse.org/r/c/dali/webtools.dali/+/176220 https://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=fb7afb65e2dbc50df943b8cd5d19927b483dae97 |
||||||||||
| Whiteboard: | |||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 564526 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Vaclav Kadlcik
Created attachment 282836 [details]
Eclipse configuration (from About)
Created attachment 282838 [details]
my Eclipse setup script (destructive!)
Gerrit change https://git.eclipse.org/r/c/dali/webtools.dali/+/164508 was merged to [master]. Commit: http://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=9a02ed70b75c126655fe862230b13e518ce8ff36 Thanks a lot for the review Nick! Computing the JPA JPQL proposals is still blocking because of: requiresUIThread="true" https://git.eclipse.org/c/dali/webtools.dali.git/tree/jpa/plugins/org.eclipse.jpt.jpa.ui/plugin.xml?id=9a02ed70b75c126655fe862230b13e518ce8ff36#n175 The reason is given in the comment bellow: "requires UI Thread because it dereferences getViewer() to utlimately ask StyledText.getData()" Unfortunately, I see some risk that the usage of Image/ResourceManager in JpaJpqlCompletionProposalComputer can require UI Thread to load some images; and this may fail when running out of the UI Threads. Some more refactorings may be required, like adding to the constructors or to the plugin some code to pre-load the images so we know they're not tried to be loaded at runtime. Not that maybe createImageDescritpr(...)/createImage(...) methods can work out of the UI Thread, but I'm not certain about that. If there is some guarantee they do work, then we can probably proceed without further consideration. New Gerrit change created: https://git.eclipse.org/r/c/dali/webtools.dali/+/176220 (In reply to Eclipse Genie from comment #7) > New Gerrit change created: > https://git.eclipse.org/r/c/dali/webtools.dali/+/176220 @Holger Voormann I have submitted my changes within my knowledge. I welcome your comments and suggestions Gerrit change https://git.eclipse.org/r/c/dali/webtools.dali/+/176220 was merged to [master]. Commit: http://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=fb7afb65e2dbc50df943b8cd5d19927b483dae97 Is this bug still open or has it been fixed in the meantime? I see new commits. (In reply to Lars Vogel from comment #10) > Is this bug still open or has it been fixed in the meantime? I see new > commits. It has been fixed already and part of the R3_21 release. @Holger may know about the current bug status. (In reply to Lakshminarayana from comment #11) > (In reply to Lars Vogel from comment #10) > > Is this bug still open or has it been fixed in the meantime? I see new > > commits. > > It has been fixed already and part of the R3_21 release. @Holger may know > about the current bug status. Yes, I can confirm that the bug has been fixed. Could someone with the appropriate permissions please add "3.21" as a value to target milestone and set target milestone to it? (In reply to Holger Voormann from comment #12) > (In reply to Lakshminarayana from comment #11) > > (In reply to Lars Vogel from comment #10) > > > Is this bug still open or has it been fixed in the meantime? I see new > > > commits. > > > > It has been fixed already and part of the R3_21 release. @Holger may know > > about the current bug status. > > Yes, I can confirm that the bug has been fixed. > > Could someone with the appropriate permissions please add "3.21" as a value > to target milestone and set target milestone to it? Lakshminarayana, I've granted you the ability to do this for Dali, and gone ahead and added 3.21 as a target. You can do so in the future through the "Bugzilla Manager: components, targets, milestones" link under the Committer Tools on https://accounts.eclipse.org/. (In reply to Nitin Dahyabhai from comment #13) > (In reply to Holger Voormann from comment #12) > > (In reply to Lakshminarayana from comment #11) > > > (In reply to Lars Vogel from comment #10) > > > > Is this bug still open or has it been fixed in the meantime? I see new > > > > commits. > > > > > > It has been fixed already and part of the R3_21 release. @Holger may know > > > about the current bug status. > > > > Yes, I can confirm that the bug has been fixed. > > > > Could someone with the appropriate permissions please add "3.21" as a value > > to target milestone and set target milestone to it? > > Lakshminarayana, I've granted you the ability to do this for Dali, and gone > ahead and added 3.21 as a target. You can do so in the future through the > "Bugzilla Manager: components, targets, milestones" link under the Committer > Tools on https://accounts.eclipse.org/. okay, Nitin. Thanks you for the access. |