Bug 142885 - FILESAVE: Cursor jumps to beginning of "File name" field in "Save As" dialog box after selecting text with mouse
Summary: FILESAVE: Cursor jumps to beginning of "File name" field in "Save As" dialog ...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: x86 (IA32) Windows (All)
: lowest trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-16 00:23 UTC by pidkameny
Modified: 2022-11-26 03:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pidkameny 2021-06-16 00:23:54 UTC
Description:
1) In LibreOffice Writer, while editing an .odt file, select "Save As" from the "File" menu.

2) In the "Save As" dialog window, use the mouse cursor to select an existing .odt file from the browser pane above the "File name:" field. The goal is to create a new file from a template (like an invoice) with a new number and keywords at the end of the file name.

2) In the same window, use the mouse cursor to click-drag to select a portion of the text in the "File name:" field, through the end of the existing file name to be altered.

HERE'S THE PROBLEM:
3) After click-dragging to select the text, instead of selection being retained so that user can type to overwrite the selection (expected behavior), the selection is lost and the text input cursor moves to the beginning of the "File name:" field. If user types at this moment, this will displace the existing text at the beginning of the file name instead of overwriting the selection as expected. For repetitive file creation processes, this is annoying and unexpected, and often results in having to re-edit the file name.

This behavior does not happen 100% of the time. I'm not sure what else I might be doing to cause it, but thought I'd ask.

Steps to Reproduce:
1) In LibreOffice Writer, while editing an .odt file, select "Save As" from the "File" menu.

2) In the "Save As" dialog window, use the mouse cursor to select an existing .odt file from the browser pane above the "File name:" field. The goal is to create a new file from a template (like an invoice) with a new number and keywords at the end of the file name.

2) In the same window, use the mouse cursor to click-drag to select a portion of the text in the "File name:" field, through the end of the existing file name to be altered.



Actual Results:
HERE'S THE PROBLEM:
3) After click-dragging to select the text, instead of selection being retained so that user can type to overwrite the selection (expected behavior), the selection is lost and the text input cursor moves to the beginning of the "File name:" field. If user types at this moment, this will displace the existing text at the beginning of the file name instead of overwriting the selection as expected. For repetitive file creation processes, this is annoying and unexpected, and often results in having to re-edit the file name.

Expected Results:
The selected portion of the filename should remain selected until the user clicks somewhere on screen or enters text via the keyboard.


Reproducible: Sometimes


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.1.3.2 (x64) / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Timur 2021-06-16 14:03:11 UTC
You repeated few times, but not clear to me what you want.
Steps should be with example names and what to select and do.
Comment 2 pidkameny 2021-06-17 17:46:13 UTC
Hi there, sorry for not being clear. The expected behavior is:

1) Use mouse cursor to select some text in the "Save as:" field

2) User begins typing

3) Selected text is deleted and replaced by text entry


The unwanted behavior I am experiencing is:

1) Use mouse cursor to select some text in the "Save as:" field

2) User begins typing

3) Text is de-selected and typed entry is inserted at the beginning of "Save as:" field, before the existing text in the field.

Does that help clarify? Thank you!
Comment 3 QA Administrators 2021-06-18 04:03:55 UTC Comment hidden (obsolete)
Comment 4 Timur 2021-06-18 07:14:12 UTC
Not sure if I understand yet:
1. Open Save as Dialog and select some file to get that as File name
2. mouse click in File name, all text is selected
3. mouse click again in the middle of text where you want to change, text is deselected
4. select part of text you will replace and type to replace and add other

Maybe you dislike step 2. but that's how dialog works, same in Firefox. 
Please clarify.
Comment 5 pidkameny 2021-06-18 17:11:07 UTC
That sounds right!

Again the cursor jumping to the beginning in this context is inconsistent... I can't figure out why it does it only sometimes, but I will keep looking out to see if I can make it more reproducible. Thank you!
Comment 6 QA Administrators 2021-06-19 03:55:35 UTC Comment hidden (obsolete)
Comment 7 Timur 2021-06-19 06:12:08 UTC
There's this automatic change which is not correct, so I set back to Needinfo. 
Please reply only if you can make reproducible steps (no "ok" or anything now) . 
Otherwise you'll be notified in 6 months.
Comment 8 pidkameny 2021-06-19 16:21:58 UTC
FYI I noticed the same behavior occurs in the "Export" window when attempting to export as PDF. Still only intermittent.
Comment 9 QA Administrators 2021-06-20 03:47:12 UTC Comment hidden (obsolete)
Comment 10 Buovjaga 2022-04-28 12:39:42 UTC
Tested about 10 times, but could not reproduce. Have you seen this with version 7.3?

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3a05acb8f0d94728ea6cbfd7a69dac6ffa7ffc68
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: default; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo
Comment 11 QA Administrators 2022-10-26 03:36:18 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2022-11-26 03:42:40 UTC
Dear pidkameny,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp