Bug 150550 - After drawing a shape, the shape tool should be unselected from the sidebar
Summary: After drawing a shape, the shape tool should be unselected from the sidebar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Sidebar
  Show dependency treegraph
 
Reported: 2022-08-22 20:12 UTC by Rafael Lima
Modified: 2023-02-01 15:13 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Video showing the problem (195.72 KB, video/mp4)
2022-08-22 20:12 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-08-22 20:12:34 UTC
Created attachment 181955 [details]
Video showing the problem

After drawing a shape in Impress the shape tool should no longer be selected (highlighted) because it is no longer enabled.

See attached video for more information.

Steps to reproduce:
1) Create a new Impress document
2) Open the "Shapes" sidebar
3) Click once in any of the shapes and draw it onto the canvas
4) Right after finishing to draw it, try to draw again; notice that it wont draw a new shape, hence the tool should no longer be highlighted

The expected behavior would be to automatically remove the tool highlight from the sidebar after finishing drawing the shape.

System info

Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.5-0ubuntu0.22.04.1
Calc: threaded

Also repro in

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 641d92a73e5b3d0e062e16ed4b42236e1a4796a5
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL
Comment 1 Rafael Lima 2022-08-22 20:23:04 UTC
By the way, while testing this bug I came across a (possibly undocumented) feature. If you click the tool twice, it will remain enabled and you can draw as many instances of the same shape as you like.

In such case, the highlight should remain visible.

Is this indeed a feature? I could not find documentation for it. If it is indeed a feature, it should be documented in the help [1] via a tip or note.

[1] https://help.libreoffice.org/latest/en-US/text/shared/02/01140000.html
Comment 2 Maxim Monastirsky 2022-08-22 21:00:26 UTC
(In reply to Rafael Lima from comment #1)
> If you click the tool twice, it will remain enabled and you can
> draw as many instances of the same shape as you like.
> 
> Is this indeed a feature?
Yes.

> I could not find documentation for it.
Seems to be documented at https://help.libreoffice.org/latest/en-US/text/simpress/main0210.html

> [1] https://help.libreoffice.org/latest/en-US/text/shared/02/01140000.html
That page seems to be for Writer and Calc only.
Comment 3 VarathaRamanujam.C 2022-09-11 05:25:11 UTC
REPRODUCED

STEP FOLLOWED:
Steps to reproduce:
1) Create a new Impress document
2) Open the "Shapes" sidebar
3) Click once in any of the shapes and draw it onto the canvas
4) Right after finishing to draw it, try to draw again; notice that it wont draw a new shape, hence the tool should no longer be highlighted



ENVIRONMENT:
Libre Office 7.4.0.0 alpha 
Distributor ID:	Linuxmint
Description:	Linux Mint 20.3
Release:	20.3
Codename:	una