Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.5
-
Windows 11 Pro, Chrome 110, using a local instance of XWiki 14.10.6 on Jetty/HSQLDB
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Edit a page with CKEditor
- Click on 'Image' from toolbar
- Choose an image from the Gallery (or upload one)
- Click 'Select' button
- On 'Advanced' tab, click on Size lock ratio button to unlock it
- Set a random Width and Height
- Click 'Insert' button
- On another line, insert a new image
- In the Image dialog, go to 'Advanced' tab
- Observe the state of the Size lock ratio button
Expected results
The Size lock ratio button is in locked state (the image dimensions are locked by default), as the image is new on the page and no Width and Height was inserted so far.
Actual results
The Size lock ratio button is in unlocked state, keeping its last state from the current page editing session.
At this point, if on this second image the lock ratio button is clicked to be locked and then go to first inserted image and double click on it, the button is in locked state, which is not quite true for the current situation, because the size ratio was unlocked for that image when the random Width and Height were set initially in relation to the image's original dimensions.
Attachments
Issue Links
- relates to
-
CKEDITOR-439 Add lock ratio buttons on the new image dialog
- Closed