Bug 51816 - UI Word Count: first keyboard selected character of each word will not be counted
Summary: UI Word Count: first keyboard selected character of each word will not be cou...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.0.beta3
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: Word-Count
  Show dependency treegraph
 
Reported: 2012-07-06 22:45 UTC by pierre-yves samyn
Modified: 2016-10-24 21:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample document (lorem...) (10.66 KB, application/vnd.oasis.opendocument.text)
2012-07-06 22:45 UTC, pierre-yves samyn
Details
Screenshot after step 3 (8.00 KB, image/png)
2012-07-06 22:46 UTC, pierre-yves samyn
Details
Screenshot after step 4 (8.12 KB, image/png)
2012-07-06 22:47 UTC, pierre-yves samyn
Details
WordCount3643 Screenshot (236.21 KB, image/png)
2012-12-21 14:09 UTC, pierre-yves samyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pierre-yves samyn 2012-07-06 22:45:23 UTC
Created attachment 63918 [details]
Sample document (lorem...)

Hello

Steps to reproduce :
1. Open attached document
2. Tools> Word count
3. Click after "At nunc" then <Ctrl><Shift><Left>

Expected result : Words 1 & Characters 4
Actual result : Words 0 & Characters 0

See screenshot after step 3

4. Click after "At nunc" then <Shift><Home>

Expected result : Words 2 & Characters 7 & excludind space 6
Actual result : Words 0 & Characters 0

See screenshot after step 4

Of course same problems with <Ctrl><Shift><Right><End>

Platform : windows 7 64 bits & Version 3.6.0.0.beta3 (Build ID: 3e2b862)

Regards 
Pierre-Yves
Comment 1 pierre-yves samyn 2012-07-06 22:46:38 UTC
Created attachment 63919 [details]
Screenshot after step 3
Comment 2 pierre-yves samyn 2012-07-06 22:47:08 UTC
Created attachment 63920 [details]
Screenshot after step 4
Comment 3 Rainer Bielefeld Retired 2012-07-07 00:25:22 UTC
[Reproducible] with "LibreOffice  3.5.5.3. Portuguese UI / German Locale [Build-ID: 7122e39-92ed229-498d286-15e43b4-d70da21] on German WIN7 Home Premium (64bit) 

Simply click before first letter of an arbitrary document after you opened word count viewer, <shift+arrowright> several times. first letter of each word in selection will not be counted.
This problem only appears when you select with open count viewer, no problem when you open viewer after selection has been done.

Word Count problem not in Status Bar word count.
Comment 4 Jean-Baptiste Faure 2012-07-07 00:56:11 UTC
I do not reproduce with LO 3.6.0.0.beta3+ (Build ID: 6497a45) under Ubuntu 11.10 x86_64 with gnome-shell.

Best regards. JBF
Comment 5 leighman 2012-12-21 12:50:41 UTC
Works correctly in 3.6.2 too
Comment 6 pierre-yves samyn 2012-12-21 14:08:49 UTC
Hello

(In reply to comment #5)
> Works correctly in 3.6.2 too

You should have specified your platform...

As shown in the new screenshot WordCount3643.png the problem is *not* resolved in Version 3.6.4.3 (Build ID: 2ef5aff) for windows

However, it is solved with Version 4.0.0.0.beta1 + (Build ID: b0eb7231a9643d71be3125be7248c91242339ab) for windows

I guess we can indeed close the Issue, adding this precision for users of prior versions 

Regards
Pierre-Yves
Comment 7 pierre-yves samyn 2012-12-21 14:09:47 UTC
Created attachment 71936 [details]
WordCount3643 Screenshot