| Summary: | Populate the Description box of the Customize dialog with multiline tooltip from bug 108458 | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | V Stuart Foote <vsfoote> |
| Component: | UI | Assignee: | Onur Yılmaz <onuryilmaz0750> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | heiko.tietze, kara, mentoring, momonasmon, raykowj, sdc.blanco, stdedos, vsfoote |
| Priority: | medium | Keywords: | difficultyBeginner, easyHack, skillCpp, skillUI |
| Version: | 7.0.0.0.alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=108458 https://bugs.documentfoundation.org/show_bug.cgi?id=61210 https://bugs.documentfoundation.org/show_bug.cgi?id=112237 https://bugs.documentfoundation.org/show_bug.cgi?id=131748 |
||
| Whiteboard: | target:7.0.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | 118148 | ||
| Bug Blocks: | 103238 | ||
|
Description
V Stuart Foote
2020-01-01 16:41:56 UTC
Possibly the Description box is no longer needed? While I agree that description is not needed anymore, the control nicely aligns the two trees. So how about showing the new multiline info from the tooltip in this box? (In reply to Heiko Tietze from comment #2) > While I agree that description is not needed anymore, the control nicely > aligns the two trees. So how about showing the new multiline info from the > tooltip in this box? Sounds okay to me. In fact, this can also be an easyHack. Around line m_xDescriptionField in cfg.cxx, you will see a block for this check: "if ( !SfxHelp::IsHelpInstalled() )". Just make necessary changes in that block to make the description field to show the tooltip for the command instead of the "local help is not installed" message, which is coming from the ui file, and set & used as sDescTooltip. As we will no longer show an empty description on absense of local help, the tooltip for the m_xDescriptionField which comes from the "desc" item in the "menuassignpage.ui" is also no longer needed, so better to also remove that, along with the sDescTooltip const. In fact, I would just remove the whole if-else ladder starting with "if ( !SfxHelp::IsHelpInstalled() )", and check for empty string returning from the m_xFunctions->GetHelpText(false) call, and set the multiline tooltip as the new text if it is empty. The tooltip commit: https://gerrit.libreoffice.org/plugins/gitiles/core/+diff/444f0d256957544d26b9af9a0898364e829df1b5%5E%21 Onur Yilmaz committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7d5a463684b44b625bf555c1d8ed4df5a1660339 tdf#129720: Populate the Description box of the Customize dialog... 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. Seems fixed now. Now I wonder if the UNO command is needed there. The average user might get confused with this information. Really cool would be to show the location of the command in the main menu and the shortcut, if available. *** Bug 130846 has been marked as a duplicate of this bug. *** |