Bug 128482 - making frame greater than QR code allows anchoring of QR "to frame" -- but not if frame size is less than or equal to QR code size
Summary: making frame greater than QR code allows anchoring of QR "to frame" -- but no...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Frame QR-code
  Show dependency treegraph
 
Reported: 2019-10-30 15:15 UTC by sdc.blanco
Modified: 2021-11-02 13:55 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2019-10-30 15:15:37 UTC
1.  Insert QR code.
2.  Insert caption... to QR code.
3.  Select QR code - Right click - Anchor  (observe no "To frame" choice)
4.  Increase size of frame.
5.  Select QR code - right click - Anchor -  (observe that "To Frame" choice is now available)
6.  Reduce frame size again (so that is is less than or equal to QR code) 
7.  Select QR code - right click - Anchor (observe that "To frame" anchoring choice disappears again.)
8.  Increase frame again (and now "To frame" anchoring is offered again)
9.  Ad infinitum....(in principle)


Expected behavior:  "To frame" anchoring is always available for QR code, also if frame is same size as QR code.

Additional information.
1.  With Shapes and Images, no problem.  That is, add caption to them, and "to frame" anchor choice is available, without changing frame size.
2.  Sometimes experienced that the appearance of "To frame" anchoring disappeared when following the sequence of increasing and decreasing frame.
3.  Seem to lose the appearance of "to frame" anchoring with QR code if the anchoring of the QR code is changed.  Could not find a sensible pattern of behavior.
Comment 1 sdc.blanco 2019-11-02 13:03:34 UTC
Additional variation.

Like before:

1.  Insert QR code.
2.  Insert caption... to QR code.
3.  Select QR code - Right click - Anchor  (observe no "To frame" choice)
4.  Increase size of frame.
5.  Select QR code - right click - Anchor -  (observe that "To Frame" choice is now available)  (sometimes the "to frame" does not appear, but if the position of the QR code is moved, then it will appear.)

6.  (new step) in the enlarged frame, move the QR code to the upper left corner of the frame (still anchored to the default "To paragraph")
7.  Observe taht "To frame" choice is no longer avaiable, even though the frame is larger than the QR code.
Comment 2 sdc.blanco 2019-11-02 14:51:09 UTC
Other variations on the theme.

Version 1
1.  Insert QR code + caption  (right-click-Anchor on QR code, shows anchoring “To paragraph” -- as expected, but no “To frame” option).
2. Select QR code, decrease its size within the frame.  (right-click-Anchor now shows “To Frame” an option).

Version 2
3. Right-click-Anchor on QR code, change Anchor to “As Character”.
4. Right-click-Anchor – “To Frame” is no longer visible.  Changing the Anchoring to different values does not “bring back” the “To Frame” option.

Version 3
5. Move position of the QR code within the frame.  Now Right-click Anchor on QR code shows the “To Frame” option.

Expected behavior:  The “To frame” option is always shown as a possibility (in all these variations).
Comment 3 Dieter 2019-11-05 15:07:38 UTC
I confirm it with

Version: 6.4.0.0.alpha1 (x64)
Build ID: cc57df8f942f239d29cb575ea5a7cb01405db787
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: GL; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 4 Dieter 2021-11-02 13:55:12 UTC
Still reproducible with steps from comment 0

Version: 7.2.2.2 (x64) / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL