Some writer contextmenus have cut, copy and past and some cut, copy, paste and paste special. For better condistancy and as writer is focused on text formating Paste Special should be available in all popupmenu files. reproduce: 1. open writer 2. right click on image, shape, table, ... will show the contextmenu where the first group is cut, copy, paste, (paste special)
Tables do have Paste Special, Shapes don't accept text unless you go into edit mode and then you get the Paste Special > Unformatted Text option, which is not working, and (raster) Images do also not well go with paste. So yes to consistency but I don't see where exactly it's missing.
Thanks for the feedback. I will check where Paste Special could be available to have consistency with different apps.
(In reply to andreas_k from comment #2) > Thanks for the feedback. I will check where Paste Special could be available > to have consistency with different apps. Put it back to UNCONFIRMED once you check it...
drawtext contextmenu can use Paste Special cause you can past formated text to a drawtext box (in writer, calc, draw and impress)
(In reply to andreas_k from comment #4) > drawtext contextmenu can use Paste Special cause you can past formated text > to a drawtext box (in writer, calc, draw and impress) @Heiko, What do you think ?
(In reply to andreas_k from comment #4) > drawtext contextmenu can use Paste Special cause you can past formated text > to a drawtext box (in writer, calc, draw and impress) You get Paste when in edit mode which inserts the formatted text. And you also have Paste Special but that is not working. When in "view mode", i.e. the frame is selected, the Paste operation puts the content into the document and not the textbox. That's likely not what users expect and another paste option will not help. Ideally, we keep the menu as it is and Paste gets disabled.
(In reply to andreas_k from comment #4) > drawtext contextmenu can use Paste Special cause you can past formated text > to a drawtext box (in writer, calc, draw and impress) Paste Special can also be added to annotation.xml in Writer, and celledit.xml in Calc. (In reply to Heiko Tietze from comment #6) > You get Paste when in edit mode which inserts the formatted text. And you > also have Paste Special but that is not working. I fixed it in Bug 118674.
(In reply to Maxim Monastirsky from comment #7) > (In reply to Heiko Tietze from comment #6) > > You get Paste when in edit mode which inserts the formatted text. And you > > also have Paste Special but that is not working. > I fixed it in Bug 118674. Maxim, you may have fixed Paste Special > Unformatted but you likely didn't introduce a meaningful format. So where is the point in this menu item?
(In reply to Heiko Tietze from comment #8) > Maxim, you may have fixed Paste Special > Unformatted but you likely didn't > introduce a meaningful format. So where is the point in this menu item? Sorry, but I don't understand your question. What do you mean by "you likely didn't introduce a meaningful format"?
(In reply to Maxim Monastirsky from comment #9) > (In reply to Heiko Tietze from comment #8) > > Maxim, you may have fixed Paste Special > Unformatted but you likely didn't > > introduce a meaningful format. So where is the point in this menu item? > Sorry, but I don't understand your question. What do you mean by "you likely > didn't introduce a meaningful format"? There is nothing else but Unformatted available under Paste Special. The same as just Paste, right?
> There is nothing else but Unformatted available under Paste Special. The > same as just Paste, right? The items in paste special are always the same (unformated) I can add more if more are available. drawtext items can since Bug 118674 was fixed use unformated and formated text.
(In reply to Heiko Tietze from comment #10) > There is nothing else but Unformatted available under Paste Special. The > same as just Paste, right? OK, so you talk about the "More Options..." item which opens the Paste Special dialog? That's indeed not useful to have in the context menu, as currently it only presents formatted vs unformatted choice, and the context menu already has paste and paste as unformatted items. But we might still consider keeping "paste as unformatted", and move it to the top level of the menu, below the ordinary paste (instead of a paste special sub menu). I think that such a highly useful function deserves to be in the context menu. (And in the future, if we get more formats, we could change it back to a sub menu. In fact, when copying from a shape, a comment, or a cell, the clipboard gets 2 formatted options which can be pasted into shapes: ODF flat XML, and RTF. We can expose both in the dialog, but I don't know how useful it will be. In the future, it will be nice to also have HTML there, so it will be possible to e.g. copy formatted text from a browser. We have some code for that in place, but it seems to need more work.)
this is how the cut, copy, paste section look like in ALL context menues (if PasteSpecialMenu is available) <menu:menuitem menu:id=".uno:Cut"/> <menu:menuitem menu:id=".uno:Copy"/> <menu:menuitem menu:id=".uno:Paste"/> <menu:menu menu:id=".uno:PasteSpecialMenu"> <menu:menupopup> <menu:menuitem menu:id=".uno:PasteUnformatted"/> <menu:menuitem menu:id=".uno:PasteSpecial"/> </menu:menupopup> </menu:menu> The submenu has always two items. Should I add the same PasteSpecialMenu than in the menubar? Or when PasteSpecial isn't available show PasteUnformatted outside the submenu?
(In reply to Maxim Monastirsky from comment #12) > OK, so you talk about the "More Options..." ... (In reply to andreas_k from comment #13) > <menu:menu menu:id=".uno:PasteSpecialMenu"> > <menu:menupopup> > <menu:menuitem menu:id=".uno:PasteUnformatted"/> > <menu:menuitem menu:id=".uno:PasteSpecial"/> > </menu:menupopup> > </menu:menu> Apologies. Yes, I'm talking about this sub menu but I always ended with just Unformatted and never got the special stuff in my tests. And that leads me to the same conclusion as Maxim has. OTOH, if we likely can implement more options we better keep the menu structure and do not modify it. +1 to the change from my side now.
(In reply to Heiko Tietze from comment #14) > +1 to the change from my side now. +1
andreas kainz committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=43cd16a158d80b9a1cb3ef2961c4bf4dcd0e6505 tdf#119411 where needed added PasteUnformated It will be available in 6.2.0. 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.
Thanks, Andreas and Heiko!