To receive labels/tooltips from UNO commands, different methods are used across the codebase. The preferred way is to use CommandInfoProvider (svtools/source/misc/commandinfoprovider.cxx). The task is to replace usages of DefaultCommandDescriptionProvider (forms/source/helper/commanddescriptionprovider.cxx) and theUICommandDescription (opengrok.libreoffice.org/search?q=theUICommandDescription) with CommandInfoProvider.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0c48c809f09e74e79c9f8dc4c22958147f591921 tdf#95845 Use CommandInfoProvider to receive command properties It will be available in 5.1.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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=81ff7cfddb8e6786529f0a878007e9d399d4908a tdf#95845 Add methods for menu labels to CommandInfoProvider It will be available in 5.1.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.
Migrating Whiteboard tags to Keywords: (EasyHack DifficultyBeginner, SkippCpp -> skillCpp, TopicCleanup) [NinjaEdit]
Hi, I'd like to take up this issue!
(In reply to Susobhan Ghosh from comment #4) > Hi, I'd like to take up this issue! Looking forward to see a patch, please have a careful look at what is missing, as some of this has already been done.
susobhang70 committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=63551177041bd6f632f7e6cc8f6a87365236c658 tdf#95845 Use CommandInfoProvider to receive UNO command labels It will be available in 5.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.
Susobhan Ghosh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=98887155c0fd209ed60e181f745bf00fb2d69ab7 tdf#95845 Use CommandInfoProvider to receive UNO command labels It will be available in 5.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.
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
Susobhan Ghosh committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bf8f926acc8afd6a2dcd2b889d427c01e06dbf85 tdf#95845 Use CommandInfoProvider to receive UNO command labels It will be available in 5.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.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=7ae232623a423b078dd54d06e5fe52e89994b391 tdf#95845 Use CommandInfoProvider in forms It will be available in 5.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.
This bug is still open, these are the remaining instances: http://opengrok.libreoffice.org/search?q=theUICommandDescription&project=core&defs=&refs=&path=&hist=
Maxim Monastirsky committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=ff085ed8fd6438d855526a8a4d699960e4d3cc73 tdf#95845 Use CommandInfoProvider It will be available in 5.3.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.
Still instances: http://opengrok.libreoffice.org/search?q=theUICommandDescription&project=core&defs=&refs=&path=&hist
Maxim Monastirsky committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=94490fdf76ff9aec05774a6dbbb0b42d87812969 tdf#95845 Use CommandInfoProvider 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.
A polite ping, still working on this issue? It looks like there's a handful of more places where theUICommandDescription is still used.
Pelin Kuran committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/3593d6931e0fa5484c34fa722eaf18c658bbf0a9 tdf#95845: Use CommandInfoProvider to receive UNO command labels It will be available in 7.0.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.