Bug 118010 - Cursor focus not on text area if Navigator is displayed
Summary: Cursor focus not on text area if Navigator is displayed
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.4.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Navigator Mouse-Cursor
  Show dependency treegraph
 
Reported: 2018-06-05 14:17 UTC by Christian Lehmann
Modified: 2020-08-15 20:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
my LO version (64.32 KB, image/png)
2018-06-12 10:31 UTC, Christian Lehmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Lehmann 2018-06-05 14:17:43 UTC
Description:
In Writer, if the Navigator is first displayed, the cursor focus is in the Navigator panel instead of in the text area. As a result, in a new document, you have to reposition the cursor before you can start writing.

Steps to Reproduce:
1.a. With a document on screen, hit F5.
  b. Alternatively, just start Writer after having it closed down with the Navigator displayed.
  c. Alternatively, with Writer open and Navigator displayed, hit CTL-N.
2. Hit any key.

Actual Results:  
Keystrokes apply to the Navigator panel. (Not even CTRL-W works!)

Expected Results:
At least in cases #1b and #1c above, the cursor must stay in the text area.


Reproducible: Always


User Profile Reset: No



Additional Info:
a) One might argue whether the current behavior makes sense in case #1a. However, in cases #1b and #c, it is a nuisance; the cursor must be in the text area.

b) The behavior is multiply inconsistent. Behavior #1b and #c does not happen if you open an existent document; then the cursor is in the text area (which is, of course, good). Nor does the counterpart of behavior #1a happen with the Styles list: if you open it (e.g. by hitting F11), the cursor remains in the text area (which, again, is good).

Suggestion: To keep consistency, always keep the cursor in the text area unless the user moves it to the Navigator (just as it is now with the Styles list).


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Comment 1 Dieter 2018-06-05 19:14:05 UTC
(In reply to Christian Lehmann from comment #0)

> Expected Results:
> At least in cases #1b and #1c above, the cursor must stay in the text area.

That is the result I recieve with

Version: 6.0.4.2 (x64)
Build-ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 2 Christian Lehmann 2018-06-05 20:22:31 UTC
It definitely does not happen with build Build-ID: 1:6.0.4~rc2-0ubuntu0.16.04.1. The cursor in the Navigator is replicable _always_.
Comment 3 Jean-Baptiste Faure 2018-06-10 14:38:44 UTC
I reproduce the case #1c.
I do not reproduce the case #1b with LO 6.0.4 and 6.1.0.0.beta1+
Another problematic case:
1/ configure LO to use the sidebar
2/ open an existing text document, click somewhere in the text to see the cursor if it is not visible
3/ click on the icon of a panel of the sidebar

=> the cursor is not visible anymore in the text document and starting writing does nothing.
As the sidebar may be used as informative panel (document structure, document formatting, etc.) opening a sidebar panel should not disable the cursor in the text area.

Setting status as NEW.

Best regards. JBF
Comment 4 Christian Lehmann 2018-06-10 14:52:32 UTC
To confirm case #1.b above, take the following steps:

1) Load any document into Writer.
2) Display the Navigator, e.g. by hitting F5.
3) Close the document and Writer.
4) Start Writer again.

It will show you a white page and the Navigator panel, and the cursor will be in the panel instead of in the text area.

If you cannot reproduce this with LO 6.0.4.2 on Ubuntu 16.04, some magic must be at work.

I can reproduce _your_ observation. However, one may discuss what is useful behavior in this case. If I click on an item in the Navigator bar, I transfer the graphical cursor into that area. One may argue that I then want it to be there. This may require further analysis.

Best, Christian
Comment 5 Xisco Faulí 2018-06-11 11:05:12 UTC
(In reply to Christian Lehmann from comment #4)
> To confirm case #1.b above, take the following steps:
> 
> 1) Load any document into Writer.
> 2) Display the Navigator, e.g. by hitting F5.
> 3) Close the document and Writer.
> 4) Start Writer again.

I can't reproduce it in

Version: 6.2.0.0.alpha0+
Build ID: 3bd8759f5ed0393b2cc5560cab1b5d4052bd9728
CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group threaded

Could you please paste the info from Help - about LibreOffice ?
Comment 6 Christian Lehmann 2018-06-12 10:31:01 UTC
Created attachment 142674 [details]
my LO version

Here you are,
Christian