Details
-
Bug
-
Resolution: Fixed
-
Major
-
14.10.21
-
Windows 11 Pro, Edge 122, using a local instance of XWiki 16.2.0 RC1 on Tomcat 9.0.87, Oracle 19c
-
Unknown
-
N/A
-
N/A
-
Description
Steps to reproduce
- Go to Administer Wiki > Look & Feel > Image Styles
- Create a new Image Style (e.g. 'Style1' - choose some distinctive settings, like a specific Width/ Height, e.g 500, default Alignment: Center, but keep "Adjustable Size" not checked)
- From "Default Style" drop-down, select the newly created style (e.g. 'Style1')
- Check (tick) 'Force Default Style' checkbox
- Click "Update the default image style" button
- Edit a page (e.g. Sandbox) with CKEditor
- Click on 'Image' from toolbar
- Select an image from Gallery tab
- Click 'Select' button
- Observe the "Image Styles" drop-down selection (the previously created Image Style should be selected automatically)
- Click "Insert" button
- Mouse hover over the image and observe the bottom-right corner
Expected results
The bottom-right image corner does not contain anything, as the Image Style that is set as default and forced has the "Adjustable Size" set to "No" (not checked).
Actual results
The resize button is displayed on the bottom-right image corner that allows the user to resize the image by mouse dragging, even if the "Adjustable Size" setting is "No" (not checked) in Administration.
From my tests, this can be reproduced only if the default Image Style is forced.