Bug 136043 - Undo deletion of page break silently selects it
Summary: Undo deletion of page break silently selects it
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Page-Break
  Show dependency treegraph
 
Reported: 2020-08-23 12:16 UTC by Telesto
Modified: 2024-06-05 06:09 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.28 KB, application/vnd.oasis.opendocument.text)
2020-08-23 12:17 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-08-23 12:16:51 UTC
Description:
ENHANCEMENT: Don't delete page break when pressing delete (if there is not content next)

Steps to Reproduce:
1. Open the attached file
2. Place cursor after hello
3. Press delete -> Page break disappears
4. Press CTRL+Z
5. Start typing -> page break deleted agan

Actual Results:
Page break deleted when pressing delete

Expected Results:
I'm certainly no workflow expert. I personally dislike deleting page breaks with delete this way. As it far to easy; and not what I intend mostly.

1) Do nothing, this is the superior design
2) Do nothing, because some people relying on this; the will get grumpy
3) Special shortcut for deleting page breaks
4) Deleting them with 'blue hoover over'/ or disable page break menu


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 8700bace8c0714d853f5df6918ab9c8bb3d81f77
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
3.3.0
Comment 1 Telesto 2020-08-23 12:17:30 UTC
Created attachment 164594 [details]
Example file
Comment 2 Heiko Tietze 2020-09-15 12:05:23 UTC
Undo selects the deleted content and if you type over a selection it overrides. Try with a paragraph break, undo and see the full line selected.

What we could suppress the selection in this particular case. However, there might be text before and after, a few characters or some pages. And you want these to be selected. 
So maybe just highlight the line in case of page break similarly to the ordinary paragraph break. Would be the same as if the text is justified.
And last but not least we can accept this shortcoming. There haven't been many upset users so far ;-). 
Michael, what do you think?
Comment 3 QA Administrators 2022-09-17 03:48:01 UTC Comment hidden (obsolete)
Comment 4 Mike Kaganski 2024-06-05 06:09:12 UTC
Definitely not a bug. Selecting undone content is the common thing (and not doing that would be a bug - see e.g. bug 144752, where not selecting the undone content gives other problems, and I am restoring the selection now). Doing this differently here would be only inconsistent. The selection is visible, so it is not "silent".