Bug 135574 - Image hidden after selecting image and pressing down arrow key twice
Summary: Image hidden after selecting image and pressing down arrow key twice
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
: 146931 (view as bug list)
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2020-08-09 09:32 UTC by Telesto
Modified: 2022-03-07 13:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Example file (675.14 KB, application/vnd.oasis.opendocument.text)
2020-08-09 09:33 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-08-09 09:32:56 UTC
Description:
Image hidden after selecting image and pressing down arrow key twice

Steps to Reproduce:
1. Open the attached file
2. Go to the second page
3. Select the image
4. Press arrow down twice

Actual Results:
Image transparent

Expected Results:
Visible


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: ru-RU (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2020-08-09 09:33:11 UTC
Created attachment 164065 [details]
Example file
Comment 2 Telesto 2020-08-09 09:38:19 UTC
Image still visible in (arrow movement a mess)
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba
Comment 3 Roman Kuznetsov 2020-08-09 18:55:10 UTC
no problem in

Version: 7.0.0.3 (x64)
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
Потоков ЦП: 4; ОС: Windows 6.1 Service Pack 1 Build 7601; Отрисовка ИП: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); ИП: ru-RU
Calc: CL

but when I press arrow up button, then the image moves down!
Comment 4 Roman Kuznetsov 2020-08-09 18:57:38 UTC
(In reply to Roman Kuznetsov from comment #3)
> no problem in
> 
> Version: 7.0.0.3 (x64)
> Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
> Потоков ЦП: 4; ОС: Windows 6.1 Service Pack 1 Build 7601; Отрисовка ИП:
> Skia/Vulkan; VCL: win
> Locale: ru-RU (ru_RU); ИП: ru-RU
> Calc: CL
> 
> but when I press arrow up button, then the image moves down!

but repro in

Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

image moves up and became hidden, regression
Comment 5 Telesto 2022-01-23 10:11:58 UTC
*** Bug 146931 has been marked as a duplicate of this bug. ***
Comment 6 Telesto 2022-01-23 10:19:06 UTC
Image doesn't disappear in 7.0. The movement of image being off can even be seen in OpenOffice 2.2.0
Comment 7 Gabor Kelemen (allotropia) 2022-03-06 14:10:34 UTC
This seems to have started in 6.2 with:

https://git.libreoffice.org/core/+/e1d73cb5552c2566c6d7463ce001e555523f3d92

author	Xisco Fauli <xiscofauli@libreoffice.org>	Mon Jul 30 13:12:43 2018 +0200
committer	Miklos Vajna <vmiklos@collabora.co.uk>	Mon Jul 30 17:52:12 2018 +0200

tdf#118971: allow arrow keys to move images or drawing objects

Adding CC to: Xisco Fauli

Relevant difference is that the document is set to be displayed in Multiple-page view. The issue manifests in Single-page view only, so you have to change it before testing (or set the Writer window narrow).

Also still an issue with current-ish master:

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: c97a3592c78ce276a353f95ce68c70a8a39174a0
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 8 Xisco Faulí 2022-03-07 13:03:05 UTC
(In reply to Gabor Kelemen (allotropia) from comment #7)
> This seems to have started in 6.2 with:
> 
> https://git.libreoffice.org/core/+/e1d73cb5552c2566c6d7463ce001e555523f3d92
> 
> author	Xisco Fauli <xiscofauli@libreoffice.org>	Mon Jul 30 13:12:43 2018
> +0200
> committer	Miklos Vajna <vmiklos@collabora.co.uk>	Mon Jul 30 17:52:12 2018
> +0200
> 
> tdf#118971: allow arrow keys to move images or drawing objects
> 
> Adding CC to: Xisco Fauli
> 
> Relevant difference is that the document is set to be displayed in
> Multiple-page view. The issue manifests in Single-page view only, so you
> have to change it before testing (or set the Writer window narrow).
> 
> Also still an issue with current-ish master:
> 
> Version: 7.4.0.0.alpha0+ / LibreOffice Community
> Build ID: c97a3592c78ce276a353f95ce68c70a8a39174a0
> CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
> Locale: hu-HU (hu_HU.UTF-8); UI: en-US
> Calc: threaded

Hi Gabor,
i'm not sure the bisection is correct. My patch fixed step 4 "press arrow down twice". Without my fix in place, the image can't be move down
Is the issue reproducible before 2d5ce0e1b233c83f91481cd6b9306ac8de7f5ff8 ?