Bug 49259 - Focus jumps when switching between partially visible objects (but not for paragraphs)
Summary: Focus jumps when switching between partially visible objects (but not for par...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 106446 160295 (view as bug list)
Depends on:
Blocks: Writer-View-Jumps Selection
  Show dependency treegraph
 
Reported: 2012-04-28 11:58 UTC by Ruslan Kabatsayev
Modified: 2024-04-09 08:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample ODT (40.24 KB, application/vnd.oasis.opendocument.text)
2024-04-06 08:22 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Kabatsayev 2012-04-28 11:58:24 UTC
How to reproduce:
0. Start Writer
1. Paste two images, so that one is on the top of the sheet, and another one on the bottom
2. Scroll the sheet so that upper image is half-clipped by the GUI, and lower is fully visible
3. Right-click lower image, then press ESC to close the menu
4. Now right-click upper image
5. See the sheet jumpy-scroll, and the just-appeared menu disappear
6. You now have to right click this image again to reopen the menu

At the same time, you can try another sequence after having done 0-2:
3. Put the cursor in space between images
4. Right-click upper (clipped) image
5. See menu appear and no unnecessary scrolling - OK

There have been some other situations where right-clicking an object makes the sheet scroll and menu disappear, which is quite displeasing.
Comment 1 A (Andy) 2014-10-11 16:57:38 UTC
Reproducible with LO 4.3.2.2 (Win 8.1)
Comment 2 QA Administrators 2015-10-14 19:56:52 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2016-11-08 11:13:17 UTC Comment hidden (obsolete)
Comment 4 Ruslan Kabatsayev 2016-11-08 12:03:26 UTC
Still reproduces with LibO 5.2.3.3 on Ubuntu 14.04.
Comment 5 QA Administrators 2018-03-27 02:28:20 UTC Comment hidden (obsolete)
Comment 6 Ruslan Kabatsayev 2018-03-27 05:34:04 UTC
Still reproduces with LibO 6.0.2.1.
Comment 7 QA Administrators 2019-03-28 04:20:14 UTC Comment hidden (obsolete)
Comment 8 Ruslan Kabatsayev 2019-03-28 11:58:29 UTC
> If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.

Nothing changed after almost 7 years: the bug is still reproducible in LibO 6.2.2.2.
Comment 9 QA Administrators 2022-09-26 03:30:26 UTC Comment hidden (obsolete)
Comment 10 Stéphane Guillou (stragu) 2024-04-05 08:26:29 UTC
*** Bug 160295 has been marked as a duplicate of this bug. ***
Comment 11 Stéphane Guillou (stragu) 2024-04-06 07:19:24 UTC
*** Bug 106446 has been marked as a duplicate of this bug. ***
Comment 12 Stéphane Guillou (stragu) 2024-04-06 08:22:38 UTC
Created attachment 193539 [details]
sample ODT

Essentially, the issue is that the view jumps to focus on the selected object (not just images) - see duplicates.

With the attachment:
1. With cursor in paragraph at top of the page, and bottom object only partially visible, click on bottom object (an image)
Result A: no view jump
2. Click on top object (a shape)
3. Click on bottom object
Result B: view jump

So the behaviour is inconsistent.

Same in OOo 3.3 -> inherited.

UX/Design, what do you think would be best?
For comparison, both OnlyOffice and Office 365 (web) always jump to focus the bottom object regardless of what was selected before.
Comment 13 Stéphane Guillou (stragu) 2024-04-06 08:28:13 UTC
(In reply to Ruslan Kabatsayev from comment #0)
> How to reproduce:
> 0. Start Writer
> 1. Paste two images, so that one is on the top of the sheet, and another one
> on the bottom
> 2. Scroll the sheet so that upper image is half-clipped by the GUI, and
> lower is fully visible
> 3. Right-click lower image, then press ESC to close the menu
> 4. Now right-click upper image
> 5. See the sheet jumpy-scroll, and the just-appeared menu disappear
> 6. You now have to right click this image again to reopen the menu
At least, I can't reproduce this disappearing context menu in:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 4; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

... so what remains is only the jump inconsistency.
Comment 14 Heiko Tietze 2024-04-08 10:44:21 UTC
(In reply to Stéphane Guillou (stragu) from comment #12)
> So the behaviour is inconsistent.
I think it's not worth any effort. => NAB/WFM

Ruslan, do you agree?
Comment 15 Ruslan Kabatsayev 2024-04-08 11:22:06 UTC
> I think it's not worth any effort. => NAB/WFM
> 
> Ruslan, do you agree?

The disappearing menu was the main annoyance here, which I confirm is fixed in 24.2.2.2. The jump remains, and I dislike it, but if it is intended, so be it.
Comment 16 Stéphane Guillou (stragu) 2024-04-08 12:37:28 UTC
(In reply to Heiko Tietze from comment #14)
> (In reply to Stéphane Guillou (stragu) from comment #12)
> > So the behaviour is inconsistent.
> I think it's not worth any effort. => NAB/WFM
It's something that's been annoying enough to be reported by 3 contributors, so my opinion is that it should at least be made consistent. Low priority, for sure.
(But if it is closed, please "won't fix" rather than the two others.)
Comment 17 Heiko Tietze 2024-04-09 08:24:06 UTC
(In reply to Stéphane Guillou (stragu) from comment #16)
> It's something that's been annoying enough to be reported by 3 contributors...
We can keep the ticket, of course.