Issue 17563

Summary: shortcut for "Unformatted text"
Product: Writer Reporter: ruiter <michielwittkampf>
Component: uiAssignee: eric.savary
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P5 (lowest) CC: christoph, cno, issues, moxfox, r.w.waters, rvojta
Version: OOo 1.1 RC2Keywords: rfe_eval_ok, usability
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 103327, 19710, 67805    

Description ruiter 2003-07-29 11:40:43 UTC

I use 'Edit - Paste Special - Uniformatted text' a lot. It would be very 
helpfull if there was a standard short-cut key for it. (I now have a macro 
under CTRL-SHIFT-V).

Comment 1 stefan.baltzer 2003-07-30 15:40:20 UTC
Reassigned to Bettina.
Comment 2 bobharvey 2004-10-03 10:54:04 UTC
I'd like to second this.
I do a huge number of tasks which involve paste-unformatted text, in several
applications.  What is needed is a default keystroke that we can all learn,
rather than creating one ourselves.  One that can get passed on to other people.

I'd also like to see an icon on the menu bars, next to the other paste option.

If none of the standards for GUIs include a keystroke, it's time to start a trend!
Comment 3 watersrw 2004-10-17 15:00:32 UTC
Yes, unlike in Word, you can't record a macro for it in OOO. Hence a need either
for macro recording paste unformatted or toolbar-button (optional) / shortcut
keypress combination.
Comment 4 bobharvey 2004-10-18 21:09:19 UTC
Interesting.  1.9.56 appears to have shift-ctrl-V for 'paste special', which
gets us half way there.  But I wanted a keystroke for 'paste special -
unformatted text'.
Comment 5 rvojta 2004-11-01 18:28:46 UTC
"Edit" -> "Paste special" -> "Unformatted text" is the most used method of 
special pasting, so it should have the shortcut instead of the "Paste special" 
BTW if you are using OOo 1.9.x builds, you can speed up your work with 
CTRL + SHIFT + V, ENTER ->  Paste special dialog, unformatted text is 
selected, so it's enough to hit ENTER. 
Comment 6 watersrw 2004-11-17 16:58:32 UTC
Now that issue 30013 is fixed, you can record a macro and then assign it to a
shortcut using toolbar;customize in OOO2.0 series.
Comment 7 watersrw 2005-01-31 21:47:06 UTC
workaround: paste this code into a new macro in basic, assign it to a button or
keypress via configure - it will paste unformatted

sub unfor

dim document   as object
dim dispatcher as object
document   = ThisComponent.CurrentController.Frame
dispatcher = createUnoService("")
dim args1(0) as new
args1(0).Name = "SelectedFormat"
args1(0).Value = 1
dispatcher.executeDispatch(document, ".uno:ClipboardFormatItems", "", 0, args1())

end sub
Comment 8 Mathias_Bauer 2007-07-17 13:53:24 UTC
Taking over
Comment 9 moxfox 2007-07-17 19:32:10 UTC
*** Issue 15000 has been marked as a duplicate of this issue. ***
Comment 10 moxfox 2007-07-17 19:40:30 UTC
*** Issue 6795 has been marked as a duplicate of this issue. ***
Comment 11 moxfox 2007-07-17 19:45:02 UTC
*** Issue 5963 has been marked as a duplicate of this issue. ***
Comment 12 Olaf Felka 2007-07-17 22:04:10 UTC
@ mox: Please don't change the version entry. We want to know when the issue has
been found. If nobody has fixed anything it's simply logical that the issue is
present in the current version.
Comment 13 moxfox 2007-07-17 23:36:56 UTC
@ of: OK
Comment 14 Mathias_Bauer 2007-08-23 09:21:55 UTC
Seeing issue 80956 I wonder whether it would be a good idea to combine that
somehow though I currently don't have any ideas or plans. Just wanted to mention
it so that we keep an eye on both issues when working on this one.
Comment 15 Mathias_Bauer 2007-11-01 19:13:44 UTC
I wonder whether the target 2.4 makes sense - in terms of effort and gain.
To introduce a new shortcut I have to touch all acceleration config files in all
applications and all languages. These are more than 30 files. And all users that
have already changed their keyboard configuration won't get the new shortcut.

For 3.0 we will move the shortcut configuration to xcu files, making them
localizable and mergeable. This makes things much easier. So I prefer target 3.0.

Until then people can use the workaround posted here.
Comment 16 Mathias_Bauer 2008-06-06 17:12:27 UTC
Though I'd love to have it myself, I don't think we can finish it for 3.0. Too
many other issues left. :-(
Comment 17 Oliver Specht 2008-07-24 07:16:55 UTC
Component changed to WordProcessor
Comment 18 moxfox 2009-03-02 19:54:13 UTC
This is now fixed in cws mox01.

The functionality is currently based on "Paste Unformatted" as provided in Paste
Special menu. However, in long term there's a possibility to improve it to work
even more along the lines of "Paste and Match Style", i.e. converting the style
to target document style when it makes sense.

Placement of the command is between Paste and Paste Special, just like in Apple
Pages. The shortcut is also the same:

This is implemented for Writer only for now, but later cws:s could extend it to
at least impress.
Comment 19 moxfox 2009-03-02 19:54:48 UTC
Fixed in cws mox01
Comment 20 moxfox 2009-03-02 19:57:50 UTC
*** Issue 19710 has been marked as a duplicate of this issue. ***
Comment 21 moxfox 2009-03-02 20:00:26 UTC
*** Issue 67805 has been marked as a duplicate of this issue. ***
Comment 22 rvojta 2009-03-02 21:54:22 UTC

At first, it's nice to see someone to work on these issues where's not enough
developers to finish them sooner. But there're some rules and these rules
shouldn't be skipped. Don't take me wrong, I really appreciate your work.

1. Personally, I'd like to see implemented these kind of "basic" commands / menu
items for all components at once. It has no sense to introduce it
in the Writer only if it is applicable to other parts. From my point of view,
your mox01 CWS should contain changes for all components (where aplicable) or
guarantee that you'll add it to another CWS before 3.2 feature/code freeze.

2. QA representative is not selected by you. You have to ask on dev@qa to get
some QA representative. I removed myself from your CWS, because I don't have
enough time to do QA. I'm sorry. Or you can ask someone directly if he agrees to
do QA of your CWS. But do not assign people without asking them.

3. Specification / Feature mail. As this is enhancement and UI change (new menu
item), you should write specification and describe what changes do you want to
make and how. So, everyone can easily read what's going on in your
CWS/enhancement and how it is done before reading source code.

Search Wiki [1] for "specification" and some samples. Also search for "Feature
mail", etc.

Comment 23 moxfox 2009-03-17 21:57:51 UTC
1. The only guarantee that this work is actually useful to anybody is to get cws mox01 integrated in a 
milestone, which, really, is the only true signal that this feature is acceptable in the OOo. Before 
spending again several months in obscure code with german code comments, this signal of acceptance 
must happen. (and NO, writer, impress etc are NOT identical even in these simple things)

Whether mox01 and later cws:s get in 3.2 in time depends mostly on the speed of the OOo's cws 
handling infrastructure and processes.

2. mail sent.

3., mail sent.
Comment 25 cno 2009-03-26 00:20:02 UTC
Hi *,
Installed the windows set. Works as expected.
Hope this helps.
(See if I can find some Mac and Linux volunteers)
Comment 26 christoph 2009-03-28 12:51:01 UTC
Discussion thread at ux-discuss (User Experience Team):
Comment 27 eric.savary 2009-03-30 12:23:52 UTC
Hi folks!

I just stumbled upon this issue lurking at the UX mailing list.

It seems that the discussion about this new feature goes in depth now...
There is already a Spec, already a CWS, which is Ready for QA.
But there was no QA member who should have been there from the start (co-writing
the spec).

So here I am! :)

Oh BTW: I'm member of the (SUN) Writer QA-Team and one of my competence area is

For further discussions... UX-Mailing list...
Comment 28 toucheguy 2009-03-30 14:47:33 UTC

Installed the Mac version (3.1.0 m42) with the install set provided by Mox (on
Mar 24, 2009) on Intel iMac Leopard 10.5.6.
It works, both the menu item and the shortcut.
I think it is a useful enhancement of the Edit menu.
The key combination of the shortcut is a bit awkward, but with some exercise, I
will get used to it (maybe combining left Shift-V with right Cmd-Alt).
Comment 29 rvojta 2009-03-30 16:46:25 UTC
The shortcut key (Option-Shift-Cmd-V) shouldn't be changed, at least not on Mac OS X. See ...

... if you do want to provide different shortcut for other platforms, feel free to do it. But you have to wait 
for macshortcuts01 integration. See following page for guide how to define multiplatform shortcuts ...
Comment 30 moxfox 2009-04-04 13:57:16 UTC
Now all changes except the shortcut key are removed. 

This issue no longer has directly UI visible changes, thus this is (in a way) "implementation details only" 
change. Any spec stuff is obsolete.

Since sophie is the QA person, re-assigning to her.
Comment 31 eric.savary 2009-04-13 22:49:53 UTC
*** Issue 101049 has been marked as a duplicate of this issue. ***
Comment 32 eric.savary 2009-06-22 23:14:55 UTC

Please explain why we should not use Option-Shift-Cmd-V on MAC OSX.

In your table I read:

"Apply the style of the surrounding text to the insert object (Paste and Match

not exactly implemented in OO.o, but in the "Paste Special" menu there's "Paste
Unformatted", which is almost the same"

Is that the "almost" that makes problem? I think we can see other this, can't we?
Comment 33 moxfox 2009-06-23 11:20:34 UTC

Actually rvojta's comment is opposite to what you think. He _wants_ to have
Paste unformatted to be Option-Shift-Cmd-V on Mac OS X. And I do agree with him,
it's the practically equivalent functionality in OOo.
Comment 34 eric.savary 2009-06-23 13:17:51 UTC
Ok! I suppose at the time he made his comment, the shortcut was something else
or in discussion.
Forget my comment! Sorry!
Comment 35 eric.savary 2009-06-25 17:42:20 UTC
Reassigning back to me.
Comment 36 eric.savary 2009-06-25 17:48:42 UTC
Test Case Specification should be there soon.

Adding feature specification to the issue.
Comment 37 emf 2009-07-24 02:34:05 UTC
I am happy to hear that Ctrl+Alt+Shift combinations will become available. But
another good idea would be to be able to choose to Paste Unformatted text when
you click on the icon.
Comment 38 eric.savary 2009-07-26 13:28:21 UTC
Verified in CWS mox01.
Should be integrated in build 300m53
Comment 39 eric.savary 2009-07-26 22:35:20 UTC