| Summary: | Palette not available when opening faces-config.xml | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Java Server Faces | Reporter: | Yury Kats <yurykats> | ||||||||
| Component: | UI | Assignee: | Debajit Adhikary <debajit.adhikary> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | gerry.kessler, hjzhang, raghunathan.srinivasan, robert_gallagher | ||||||||
| Version: | 2.0.1 | Keywords: | helpwanted | ||||||||
| Target Milestone: | 3.1.1 | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Yury Kats
consider for 3.0 Deferred due to lack of resources Is it possible to get a fix for this issue in the 3.0.3 release? I tried the steps on the Ganymede build and I can't recreate this issue. I see the palette with the icons for the Page, links etc. I can easily reproduce it with RAD 7.5 which is based on Ganymede. Once I open faces-config and switch to "Navigation Rule" tab, the palette contains nothing until I click some place else outside the editor and then back in the editor (so it gains focus). (In reply to comment #5) I was unable to reproduce this bug using Ganymede (Version: 3.4.0, Build id: I20080617-2000, WTP 3.0.1). > I can easily reproduce it with RAD 7.5 which is based on Ganymede. > Once I open faces-config and switch to "Navigation Rule" tab, > the palette contains nothing until I click some place else > outside the editor and then back in the editor (so it gains focus) When I open faces-config.xml, and switch to the "Navigation Rule" tab, I see a little arrow (Screenshot FacesConfigEditor1.jpg attached) clicking on which opens up the palette. The palette is not displayed by default. The palette opens only when I click on the little arrow on the top right, (Screenshot FacesConfigEditor2.jpg attached) Clicking outside the faces-config editor and re-focusing on it seems to have no effect at all on the palette. Could you post screenshots that highlight the errant behavior? Created attachment 113814 [details]
Screenshot 01: Faces-Config Editor (with palette closed by default)
Created attachment 113817 [details]
Screenshot 02: Faces-Config Editor with palette
The palette would be hidden by default, like in your screenshots, if you did not already have the Palette view open (which is the case in RAD). So open Palette view first (Window->Show view->Palette) then open faces-config and switch to Navigation tab. Is this reproducible now with the latest instructions from Yury? If so, any idea when this could be targetted to? Thanks! Please inform if this needs to be addressed in 3.0.4 also. Re-targeting to M5. This looks at risk for this release. A patch would be welcome. Appears to be same issue as https://bugs.eclipse.org/bugs/show_bug.cgi?id=161491 There are some helpful hints in there. The general issue appears to be that we have an editor nested in another editor, and the Palette view is associated with the top-level editor only and does not detect when a nested editor changes. Created attachment 142143 [details]
Patch for FacesConfigEditor
Attached a patch, based on a suggestion from bug 161491. FacesConfigEditor#currentPageChanged now "pokes" the PaletteView to force that view to update itself (if it's open). The fix is small, isolated and poses no risk to the rest of the editor's functionality. Please cosider for the upcoming maintance release. Patch applied *** Bug 273958 has been marked as a duplicate of this bug. *** |