Bug 92492 - UI "Convert text to Table" and "Convert table to text" in wrong category in customize functions list
Summary: UI "Convert text to Table" and "Convert table to text" in wrong category in c...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: Other All
: medium normal
Assignee: Vidhey PV
URL:
Whiteboard: target:5.4.0
Keywords: needsDevEval
Depends on:
Blocks:
 
Reported: 2015-07-02 11:26 UTC by narayanaras
Modified: 2017-04-18 10:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description narayanaras 2015-07-02 11:26:22 UTC
In Writer, I would like to create a shortcut for "Convert text to Table" and "Convert table to text" functions. However, Writer does not allow this.

1. Right-click on any toolbar and select "Customize toolbar".
   The "Customize" window pops up.
2. Switch to "Keybvoard" tab. (tab#2)
3. At the bottom, under "Functions", and scroll down in the "Category" list.
   Click on "Table"
4. Check the second list ("Functions").
   There are no "Convert text to Table" and "Convert table to text" functions.


Desired:
Add these functions to the GUI.
Comment 1 Cor Nouws 2015-07-02 15:39:40 UTC
thanks Narayanaras for writing the issue.
I confirm that the items are not in the category Table .

I do find them in the category Tools .. Unexpected, so a bug.
Comment 2 Cor Nouws 2015-07-02 15:42:09 UTC
(In reply to Cor Nouws from comment #1)

> I do find them in the category Tools .. Unexpected, so a bug.

Sorry: options!

Already a problem in 3.6.6 and maybe older?
Comment 3 Cor Nouws 2015-07-02 15:42:37 UTC
could be an easy hack to fix this ??
Comment 4 Robinson Tryon (qubit) 2015-12-13 11:21:30 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-01-03 19:51:07 UTC Comment hidden (obsolete)
Comment 6 Katarina Behrens (Inactive) 2017-02-03 18:03:26 UTC
Yes it is an easy hack.

The two commands are here: officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu

The slot serving those commands is in: sw/sdi/swriter.sdi (simply find ConvertTextToTable, ConvertTableToText there)

Then, all you need is to figure out which slot attribute defines the category the command and change it. You might find this article helpful: https://wiki.openoffice.org/wiki/Framework/Article/Implementation_of_the_Dispatch_API_In_SFX2#Slot_definitions Most important part of it is the table explaining what do different attributes of slot definitions mean.
Comment 7 Commit Notification 2017-02-06 16:10:21 UTC
pv2k committed a patch related to this issue.
It has been pushed to "master":

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

tdf#92492 function placed in a wrong category in customise functions list

It will be available in 5.4.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.
Comment 8 Xisco Faulí 2017-04-13 09:09:41 UTC
Hello,
Is this bug fixed?
If so, could you please close it as RESOLVED FIXED?
Comment 9 Cor Nouws 2017-04-18 10:14:14 UTC
Is implemented in Version: 5.4.0.0.alpha0+
Build ID: 2f5baab8498ce1303dded8aa7e16adbf80341c39
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-04-17_23:20:42
Locale: nl-NL (nl_NL.UTF-8); Calc: group


Thanks pv2k / vidhey96 !