[
https://issues.apache.org/jira/browse/NIFI-16221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anshu Singh updated NIFI-16221:
-------------------------------
Affects Version/s: (was: 2.10.0)
(was: 2.11.0)
Status: Patch Available (was: In Progress)
> UI: Property editor resize handle is not usable and cursor remains in move
> state
> --------------------------------------------------------------------------------
>
> Key: NIFI-16221
> URL: https://issues.apache.org/jira/browse/NIFI-16221
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Reporter: Daniiar Sherniiazov
> Assignee: Anshu Singh
> Priority: Trivial
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> In Apache NiFi 2.10.0, the resize behavior of the property editor appears to
> be broken or unreliable.
> When editing a large text property, for example the *SQL Query* property in
> the {{ExecuteSQL}} processor, the editor window can normally be resized using
> the handle in the bottom-right corner.
> In the affected version, the resize cursor/handle is difficult or sometimes
> impossible to activate. Instead of the {{se-resize}} cursor, the cursor often
> remains in the {{{}move{}}}/drag state used for moving the whole editor
> window.
> As a result:
> * the resize handle is difficult to target;
> * resizing the editor is unreliable;
> * dragging can sometimes get stuck in the move/drag state;
> * working with larger SQL queries or other multiline properties becomes
> inconvenient.
> The same behavior also appears to be present in NiFi 2.11.0.
> h3. Steps to reproduce
> # Start Apache NiFi 2.10.0 or 2.11.0.
> # Add an {{ExecuteSQL}} processor.
> # Open {*}Configure → Properties{*}.
> # Open the editor for the *SQL Query* property.
> # Move the cursor to the bottom-right corner of the editor.
> # Try to resize the editor.
> h3. Expected behavior
> The resize handle should be easy to target.
> When hovering over the resize area, the cursor should change to a south-east
> resize cursor and dragging should resize the editor reliably.
> h3. Actual behavior
> The cursor often remains in the {{{}move{}}}/drag state instead of switching
> to the resize cursor.
> The resize area is difficult to activate and resizing may not work reliably.
> In some cases the drag/move interaction also appears to get stuck.
> h3. Additional information
> This does not appear to be specific to SQL execution itself. It seems related
> to the shared NiFi property editor / resizable UI component and may
> potentially affect other large text properties such as:
> * {{ExecuteScript}} → Script Body
> * {{ExecuteGroovyScript}} → Script Body
> * Jolt specification editors
> * other multiline property editors
> There was previous work around the NiFi resize handle in {*}NIFI-13117{*},
> but that issue appears to be related to the visual appearance of the handle
> rather than this interaction problem.
> There were also frontend theming changes before NiFi 2.10.0, including
> {*}NIFI-16009{*}, which touched the shared {{resizable}} component. This may
> be related, but I have not confirmed it as the root cause.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)