Issue 67422 - Do not turn off whole underline attribute when only part of the word is formatted
Summary: Do not turn off whole underline attribute when only part of the word is forma...
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: formatting (show other issues)
Version: OOo 2.0.3
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 22:08 UTC by bob54
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bob54 2006-07-15 22:08:33 UTC
Within Writer:
  1. Two words are typed together without a space between them.
  2. The user wants to underline one of the words.
  3. User selects the word, hits Ctrl-U, gets the underline, hits Ctrl-U to turn
if off, and then types a space.
  4. The underline is lost.
(Note: clearly, this would not be a problem if the user would just separate the
words first. But in usage this seems to come up often enough to be worthy of an
enhancement to stop it happening.)
Comment 1 michael.ruess 2006-07-17 09:23:35 UTC
I do not understand what the problem should be here. You said 
   3. User selects the word, hits Ctrl-U, gets the underline, hits Ctrl-U to turn
   if off, and then types a space.
   4. The underline is lost.
You turn the underline on, then off, type a space and underline is gone? An
underline turned off connt be lost?
Please explain a bnit more exactly. Thanks a lot!
Comment 2 michael.ruess 2006-07-19 13:58:09 UTC
Closed. Did  not get response.
Comment 3 bob54 2006-07-31 01:21:09 UTC
Let's say you have a sentence "I tried it yesterday."
You go back to edit this and realize you wanted to say you tried it **again**
yesterday, and that you wanted to emphasize the "again".
So you go to the "y" from "yesterday" and you turn on the underline (ctrl-u) and
you type "again" and it, of course, comes out underlined.
You now have "again" underlined, no space, and the original "yesterday" that is
not underlined.
You basically just want to add a space between the two words. If you type in a
space, it comes out underlined, which is no good.
So you decide to turn underline off and then hit a space. But when you turn
underline off (ctrl-u) it not only turns off, but the underline under "again"
turns off.
Thanks.
Comment 4 michael.ruess 2006-07-31 09:39:38 UTC
MRU->FL: currently if the cursor is place in a word (no selection) a character
format (e.g. "underline" via button) will be applied to the whole word - this is
good, as long as the word is not partly formatted with an attribute. When the
cursor is placed at the point where the formatting changes, IMO the formatting
should only be switched on and off. A special handling should be implemented to
make more intuitive in such a situation.