Bug 157719 - Copying styles via keyboard shortcut (like MSO)
Summary: Copying styles via keyboard shortcut (like MSO)
Status: RESOLVED DUPLICATE of bug 156404
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2023-10-12 08:33 UTC by Amin Irgaliev
Modified: 2023-10-20 13:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test with keyboard shortcut ctrl + shift + v (23.85 KB, image/jpeg)
2023-10-12 17:56 UTC, Amin Irgaliev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amin Irgaliev 2023-10-12 08:33:27 UTC
Description:
MSO allows you to copy selected styles via the keyboard shortcut "ctrl + shift + c" and accept them via "ctrl + shift + v". This functionality is already available in the toolbar and the context menu. Maybe, for better user experience, it is worth adding similar behavior using a key combination.

Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: No

Additional Info:
Comment 1 m_a_riosv 2023-10-12 17:11:42 UTC
[Ctrl+Shift+V] show the paste special options with a button to paste only format.
Comment 2 Amin Irgaliev 2023-10-12 17:56:22 UTC
Created attachment 190172 [details]
Test with keyboard shortcut ctrl + shift + v

(In reply to m.a.riosv from comment #1)
> [Ctrl+Shift+V] show the paste special options with a button to paste only
> format.

We tried, the text with the style is copied, but this no way to paste only style using the keyboard shortcut ctrl + shift + v
Comment 3 m_a_riosv 2023-10-12 20:16:42 UTC
Seems you are copying between applications, not between two files into the same app.
I think, it is a different matter, not the same options available.
Comment 4 Amin Irgaliev 2023-10-12 20:36:52 UTC
(In reply to m.a.riosv from comment #3)
> Seems you are copying between applications, not between two files into the
> same app.
> I think, it is a different matter, not the same options available.

Copying took place within one file. On the first line with stylized text, using the combination Ctrl+Shift+C or Ctrl + C. On the second line with unstylized text, using the combination Ctrl + Shift + v.
Comment 5 Vladislav Tarakanov 2023-10-19 17:40:09 UTC
(In reply to m.a.riosv from comment #1)
> [Ctrl+Shift+V] show the paste special options with a button to paste only
> format.

We can’t find a function to paste formatting without text by pressing ctrl+shift+v. Looking through other resources, we cannot find any information about pasting formatting only. In the code we were able to find a mention of "only formats" in Calc. It looks like this feature is not implemented for Writer. @m.a.riosv can you tell us the steps you followed to paste formatting only?
Comment 6 m_a_riosv 2023-10-20 01:01:21 UTC
[Ctrl+Shift+V] works with Calc, not exist for Writer.

Help about clone format (Icon):
https://help.libreoffice.org/latest/en-US/text/shared/guide/paintbrush.html?DbPAR=SHARED#bm_id380260

It's possible to customize keys combinations.
Menu/Tools/Customize [Keyboard]
Search for 'Clone'
Select the combination.
Go to the source paragraph.
Use keyboard combination.
Click on destination paragraph.
Paragraph style is applied.

I don't know if it is enough.
Comment 7 Vladislav Tarakanov 2023-10-20 07:06:27 UTC
(In reply to m.a.riosv from comment #6)
> [Ctrl+Shift+V] works with Calc, not exist for Writer.
> 
> Help about clone format (Icon):
> https://help.libreoffice.org/latest/en-US/text/shared/guide/paintbrush.
> html?DbPAR=SHARED#bm_id380260
> 
> It's possible to customize keys combinations.
> Menu/Tools/Customize [Keyboard]
> Search for 'Clone'
> Select the combination.
> Go to the source paragraph.
> Use keyboard combination.
> Click on destination paragraph.
> Paragraph style is applied.
> 
> I don't know if it is enough.

It looks like this method still requires using the mouse when typing. The area to which you want to apply formatting must be selected with the mouse. It also looks like this method requires you to select the text with the desired formatting each time before applying it to other text.

It seems more convenient to add an option, for example, “Paste formatting only” in the menu that appears when pressed ctrl+shift+v. This will allow users to repeatedly apply the copied style to text without using the mouse.
Comment 8 Vladislav Tarakanov 2023-10-20 07:14:06 UTC
UX-team, can anyone evaluate this feature?
Comment 9 Heiko Tietze 2023-10-20 08:25:16 UTC
This has been discussed in bug 156404 and, sorry, rejected.

*** This bug has been marked as a duplicate of bug 156404 ***
Comment 10 Amin Irgaliev 2023-10-20 09:15:46 UTC
(In reply to Heiko Tietze from comment #9)
> This has been discussed in bug 156404 and, sorry, rejected.
> 
> *** This bug has been marked as a duplicate of bug 156404 ***

Sorry for being curious, but may we know the reason why this feature is rejected?
Comment 11 Heiko Tietze 2023-10-20 13:33:08 UTC
(In reply to Amin Irgaliev from comment #10)
> Sorry for being curious, but may we know the reason why this feature is
> rejected?
Just follow-up on the discussion in the duplicate ticket. And feel free to disagree and reopen - with good arguments ideally.