Bug 140418 - Sheet-tab drag destination guide triangles repainting broken
Summary: Sheet-tab drag destination guide triangles repainting broken
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-14 23:11 UTC by Eyal Rozenberg
Modified: 2023-08-07 07:43 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Cropped screenshots: While dragging a tab vs before dragging (24.87 KB, image/png)
2021-02-14 23:11 UTC, Eyal Rozenberg
Details
Screenshot of behavior as of LO 7.6a (27.20 KB, image/png)
2023-08-07 07:43 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2021-02-14 23:11:01 UTC
Description:
When you drag, without releasing, a sheet-tab in the tab deck at the bottom of a Calc window, and move it around over the other tabs, guiding triangles |> <| show up to indicate where the tab will be placed if you release it.

However - when these triangles are re-painted, as you move your mouse - some pixels remain painted black when they should have been cleared.

A comparison of screenshots will follow.

Steps to Reproduce:
1. Open a new LTR document with LTR UI.
2. Add several sheets, to have, say, 5 sheets in total.
3. Select the first (leftmost) sheet-tab, with you mouse - keeping the mouse button down.
4. Drag the tab slowly to different positions in the tab deck, back-and-forth

Actual Results:
You always see at most one pair of triangles, and no "vestigial" black triangle pixels from previously-appearing triangle pairs.

Expected Results:
You see pixels from previously-painted triangles where the triangles are no longer present.


Reproducible: Always


User Profile Reset: No



Additional Info:
Observed with:

Version: 7.1.0.3 / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 4; OS: Linux 5.9; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Calc: threaded


Note that there are also issues with tab dragging and triangle painting in the context of RTL UI and/or RTL sheets. This is a different issue, although there might be some relation.
Comment 1 Eyal Rozenberg 2021-02-14 23:11:51 UTC
Created attachment 169744 [details]
Cropped screenshots: While dragging a tab vs before dragging
Comment 2 Roman Kuznetsov 2021-08-06 09:39:08 UTC
confirm in

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ac80ec817eb07c77a51bc0729985a473c734182e
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 3 QA Administrators 2023-08-07 03:19:16 UTC Comment hidden (obsolete)
Comment 4 Eyal Rozenberg 2023-08-07 07:43:22 UTC
Note: The opening comment mixed up the actual and expected results. Obviously we expect not to get repainting artifacts, but we do get them.


Problem persists with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Comment 5 Eyal Rozenberg 2023-08-07 07:43:55 UTC
Created attachment 188819 [details]
Screenshot of behavior as of LO 7.6a