Red Hat Bugzilla – Bug 1255454
Editor size not restored after hiding domain screen if save has been performed
Last modified: 2018-03-31 18:12:48 EDT
Created attachment 1065315 [details]
Description of problem:
It seems that save causes the Data Objects editor to refresh. If domain screen is expanded during the save, the current editor width is stored as maximum available and after hiding the domain screen the editor does not resize to full available space.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open any Data Object.
2. Expand any domain screen.
3. Make a change in the data object and save it.
4. Hide domain screen.
Data Objects editor width does not increase after hiding domain screen.
Data Objects editor should resize to full available width.
Happens with every editor.
Another (simpler) way to reproduce:
1. Expand any domain screen.
2. Open any editor (e.g. guided rule, data object).
3. Hide domain screen.
Result: Editor header bar (Title + Save, Delete, ...) is resized but the editor content is not.
I guess this should be some more general mechanism, likely related to uberfire
I've detected that the behavior was a side effect of the Lock mechanism that caused the editor to be reloaded after each save.
It was reported and finally fixed by Christian in the following Uberfire commits:
Created attachment 1082757 [details]
Behavioural problems of the data editor
BPMS 6.2.0.ER3 has the behavioural problems of the data editor. See screenshot.
I've re-tested it with the following results.
1) The resize effect initially reported in the BZ is fixed, or at least I've reproduced the steps 1,2,3, and the resizing is working as expected.
2) for the next reported issue "Behavioural problems of the data editor" I couldn't fined a reproducible sequence of steps.
In my opinion issue reported originally is fixed, and I believe it's better to open a new one with the new "Behavioural problems of the data editor" described problem and if possible provide a reproducible sequence of steps.
One more comment about the re-sizing + docks, there are more commits in UF/UF-EXT that are complementary for fixing the described behavior.
I've copy them here just for tracking.
Was re tested on 6.3.x (closest code used for the 6.2 GA branch) and it couldn't be reproduced. So I change status to modified so it can be retested, hopefully with next roll-up patch.
Yes, the original issue has been resolved.
The problem described in comment 6 is tracked in a new bugzilla 1289536.