Bug 150631 - Display line number and column in status bar
Summary: Display line number and column in status bar
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Statusbar
  Show dependency treegraph
 
Reported: 2022-08-27 11:49 UTC by jez9999
Modified: 2022-09-19 13:01 UTC (History)
2 users (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 jez9999 2022-08-27 11:49:20 UTC
As far as I can tell, there's no way to get LibreOffice Writer to display the cursor's current line number and column in the status bar, as many text editors do.  This is frequently very useful information.  Please add it.
Comment 1 Dieter 2022-09-18 12:50:19 UTC
(In reply to jez9999 from comment #0)
> As far as I can tell, there's no way to get LibreOffice Writer to display
> the cursor's current line number and column in the status bar, as many text
> editors do.  This is frequently very useful information.  Please add it.

Thank you for enhancement request. I have some questions:
a) The tool "line numbering" excludes tables, so could you please specify, wah do you mean by "columns"? I don't think, it would be a goog idea, to have a different line numbering, than in the "line numbering" tool.
b) "as many text editors do" => Could you give some examples
c) "This is frequently very useful information". I've never missed that information. Could you please give some use cases? Thank you.

=> NEEDINFO
Comment 2 jez9999 2022-09-18 13:10:06 UTC
a) Well, it's available in Microsoft Word (right-click status bar, check Line Number and Column), which might suggest it's something appropriate to a word processor.  When in a table, Word simply treats each row of the table as a new line, so if the line number before the table is 15, and you have a table with 3 rows, those are displayed as lines 16, 17, and 18 on the status bar.  Each column is treated as separate when it comes to column count, so for example the first 3 characters in each cell of the table display as column 1, 2, 3.

b) This feature is available in Microsoft Word, Notepad++, EditPad, VS Code, Visual Studio, Vi/Vim, Windows Notepad, and xed... off the top of my head.  In fact, it's in virtually everything except Libreoffice Writer.

c) If I'm comparing two fixed-width text documents for alignment I might want to quickly check the line/column of a particular character.  If I'm trying to limit the line width I might want to know the column of a given character to see how close I am to the width limit I want.  If I'm doing ASCII art it might be useful.  I'm sure there are plenty of other use-cases.
Comment 3 Dieter 2022-09-18 14:07:12 UTC
Thank you for quick reply. I think there are aenough informatons now, that design-team can decide about it.

Personally I think we should avoid different line numbering in status bar and in text margin.

cc: Design-Team
Comment 4 jez9999 2022-09-18 15:34:18 UTC
You could still do that, and just have the status bar line number displaying blank when the cursor was in a table.
Comment 5 Heiko Tietze 2022-09-19 08:34:10 UTC
It is my proposed solution for bug 150237 respectively bug 150375. Ultimately we should go with a flexible implementation of the current word count feature, so it's a duplicate of bug 123083. Please reopen if you disagree.

*** This bug has been marked as a duplicate of bug 123083 ***
Comment 6 jez9999 2022-09-19 10:03:34 UTC
Erm, yeah I am reopening because that bug you linked is very unclear as that what it's doing at all.  It certainly doesn't mention anything about showing line/column in the status bar.
Comment 7 Heiko Tietze 2022-09-19 12:19:10 UTC
So my take: make the word count more flexible and show alternative document information in the respective status bar panel. Since the use case is unclear, implementing bug 150375 might be a solution too.
Comment 8 jez9999 2022-09-19 12:26:07 UTC
Does that alternative document information include character column and row, as all the text editors I mentioned above show?
Comment 9 Heiko Tietze 2022-09-19 13:01:50 UTC
(In reply to jez9999 from comment #8)
> Does that alternative document information include character column and row,
> as all the text editors I mentioned above show?

That's your wish. I suggest to realize, if going to be implemented, in this way.