[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

Commit Notification libreoffice-comm...@lists.freedesktop.org changed:

   What|Removed |Added

 Whiteboard||target:4.4.0

--- Comment #40 from Commit Notification 
libreoffice-comm...@lists.freedesktop.org ---
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to master:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=10176b1b6f4801d78695451a1eccabf32701e175

fdo#33899 autocorrect: don't replace date parts with fractions



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

László Németh nem...@numbertext.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #41 from László Németh nem...@numbertext.org ---
According to the several bug reports/suggestions, this bug solved with an
exception: autocorrect entries with '/' aren't replaced before /.

Thanks for your comments!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #42 from tommy27 ba...@quipo.it ---
nice fix Lazlo, however I still suggest users to adopt 1//2, 1//4, 1//8
autocorrect syntax (see comment 38) to avoid other autocorrect fractions
collisions such as those in Bug 71974

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #37 from tommy27 ba...@quipo.it ---
@Ian

yes, the / acts as a terminator and triggers autocorrect as already explained
in comment 10

it should be kept because if you type words like balck/white and you have a
balck - black autocorrect entry it will correct the first error, otherwise
you should always set an entry with the entire word.

the only way to obtain a compromise would be to tweak the code and make the /
be an autocorrect separator/trigger only for letters and not for numbers but I
don't know if it's technically feasible.

regarding the 1/2inch example, if you wanna obtain ½inch you have to play with
wildcards and add a 1/2* -- ½  replacement

as said before my proposal is a workaround which is easy to implement for all
those who are experiencing issues with the date/fraction collision.

at the moment there's no better solution

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #38 from tommy27 ba...@quipo.it ---
the other, maybe more elegant, solution is to modify the autocorrect
replacement for fractions like has been done in the french localization.

in the french locale I see 1//2 -- ½ 

rather than 1/2 -- ½ like in other locales (like italian, english, german
etc.)

the advantage of an autocorrect replacement such as 1//2 -- ½  
is that you will never have autocorrect collision while writing dates (see also
Bug 71974) and you will not need the wildcard workaround I described before.

I think that we should probably make all those special characters
autocorrection uniform among the various languages.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #39 from Owen Genat owen.ge...@gmail.com ---
(In reply to comment #38)
 the advantage of an autocorrect replacement such as 1//2 -- ½  
 is that you will never have autocorrect collision while writing dates (see
 also Bug 71974) and you will not need the wildcard workaround I described
 before.
 
 I think that we should probably make all those special characters
 autocorrection uniform among the various languages.

I agree. Terrific idea. Avoiding AutoCorrect collisions via unlikely entry
combinations is the best approach IMO.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #36 from Ian Goddard godda...@hotmail.co.uk ---
(In reply to comment #35)
 I think there's an elegant workaround to avoid autocorrect interferences
 while dealing with dates without removing the existent autocorrect entries
 for fractions.
 
 just open the autocorrect replacement table and enter this:
 
 replace:  ½/.*   with: 1/2/
 replace:  ¼/.*   with: 1/4/
 replace:  ¾/.*   with: 3/4/

It works but I'm not sure I'd call it elegant.  The cell contents first
autocorrect to the fraction which is a bit disconcerting  then autocorrect
back.

As you say, it's a workaround.  The real problem is that the autocorrect kicks
in too early.

I'm trying to understand just what the process is.  By comparison with the
substitution on dates I'd expect to be able to enter ½inch by typing 1/2inch
and likewise ½ but I get exactly what I type.

It looks as if it takes more than entering any character after the 2 to throw
the autocorrect mechanism into play.  There must be a list of terminator
characters and only after one of these is entered does autocorrect inspect the
string but either a space or a / can act as a terminator.  In that case is the
/ were removed from that list dates could be entered more easily.  That leaves
the question of whether there are any use cases where / is a valid terminator
as those would then be broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-08-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #35 from tommy27 ba...@quipo.it ---
I think there's an elegant workaround to avoid autocorrect interferences while
dealing with dates without removing the existent autocorrect entries for
fractions.

just open the autocorrect replacement table and enter this:

replace:  ½/.*   with: 1/2/
replace:  ¼/.*   with: 1/4/
replace:  ¾/.*   with: 3/4/

thanks to the autocorrect wildcard .* (feature available since 4.2.4) if a
fraction symbol is followed by a slash it will revert the fraction symbols to
numbers preserving the date format (i.e. 1/2/2014 instead of ½/2014)

whereas if you digit 1/2 or 1/4 or 3/4 followed by a space the autocorrect will
convert simple numbers to fraction (½ , ¼ , ¾)

I propose to add those  ½/.* autocorrect entries as default entries in next
releases in order to avoid the annoying autocorrect replacement that happens
while digiting some date in single digit mode.

once this has been done we could mark the issue as FIXED.

@Lazlo Nemeth
I think I've found another useful application of your great wildcard
autocorrect feature. what do you think about it?

I'd love to hear feedback to other interested users and developers as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-05-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

 CC||steedp...@rocketmail.com

--- Comment #34 from Eike Rathke er...@redhat.com ---
*** Bug 78954 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-05-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 CC||u_lu...@o2.co.uk

--- Comment #33 from tommy27 ba...@quipo.it ---
*** Bug 78029 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #32 from Ian Goddard godda...@hotmail.co.uk ---
Maybe we should consider test cases  what would be considered acceptable ways
of handling.

Here's a starter:
A spreadsheet describing stock in a warehouse.  The columns are (1)product
description, (2)put-away date and (3)bin number.  Autocorrection is allowed.

In column 1 entering '1/2 copper tube' and 'Tube, copper, 1/2' should be
rendered '½ copper tube' and 'Tube, copper, ½' if autocorrection is turned on
or left as is if it's turned off.

In column 2 entering '1/2/14' and '1/2/2014' are interpreted as dates according
to the rules of the current locale (remember that for some of us this would be
the first of February, not the second of January) and date formatting rules set
for the column.

Column 3 is more problematic '1/2', '1/2/14', '1/2/14/1234' and '1234/1/2/14'
could all be valid bin numbers and entered as is.  This implies that all
interpretation should be able to be turned off on a column (and, by extension,
row) basis.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-04-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

tommy27 ba...@quipo.it changed:

   What|Removed |Added

 CC||nem...@numbertext.org

--- Comment #31 from tommy27 ba...@quipo.it ---
I put Lazlo Nemeth on CC-list since he did some nice job with autocorrection
recently and knows the code about that feature.

@Lazlo
would you please take a look at my idea in Comment 13 ?
is it technically feasible or not?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2014-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

Björn Michaelsen bjoern.michael...@canonical.com changed:

   What|Removed |Added

   Priority|highest |high

--- Comment #30 from Björn Michaelsen bjoern.michael...@canonical.com ---
(This is an automated message.)

LibreOffice development currently prioritizes bugs with the so called MAB (most
annoying bugs) -- as this bug has not run through that process (including
writing a short rationale for this bug being a candidate and other who are
watching the tracker bug silently approving that rationale etc.) its priority
is set to high. Note this is effectively no change in the urgency assigned to
this bug, as we are currently not making a difference between high and highest
and severity is untouched.

You can find out more about MABs and how the process works by contacting
libreoffice qa on irc:

 http://webchat.freenode.net/?channels=libreoffice-qa

The QA wiki page also gives you hints on how to get in contact with the team
(if IRC fails you, your next best choice is the mailing list):

 https://wiki.documentfoundation.org/QA

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2013-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=71974

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2013-11-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

tommy27 ba...@quipo.it changed:

   What|Removed |Added

Version|3.3.0 release   |Inherited From OOo

--- Comment #29 from tommy27 ba...@quipo.it ---
I reproduce the bug on OOo 3.3.0 so issue is inherited from OOo.
changed version field.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2013-08-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

Eike Rathke er...@redhat.com changed:

   What|Removed |Added

 CC||pmla...@suse.cz

--- Comment #28 from Eike Rathke er...@redhat.com ---
*** Bug 68048 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2013-06-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

--- Comment #27 from Owen Genat owen.ge...@gmail.com ---
In response to comment #8, the workaround (2) suggested is not effective under
GNU/Linux TDF/LOv4.0.3.3. If I change the AutoCorrection Replacement Table
entry 1/2 with 1|2 in order to allow fractions but via a different key
combination, it has no effect on typing 1/2. This value is *still* changed to
a fraction. The new combination is changed as well, but the fact that the old
combination is also changed points to a deeper issue with this facility (which
I believe you indicate - it sounds like it is hardcoded somewhere).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33899] Autocorrection replaces dates with fractions

2013-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33899

tommy27 ba...@quipo.it changed:

   What|Removed |Added

Summary|Regression: Autocorrection  |Autocorrection replaces
   |replaces dates with |dates with fractions
   |fractions   |

--- Comment #26 from tommy27 ba...@quipo.it ---
I'm removing the word regression from the title.

as fas as I know this autocorrect/date/fraction collision affects any LibO
release from day 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs