| Summary: | The same icons for "New category" and "Refresh" items are in "Settings" drop-down menu in Template dialog | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Roman Kuznetsov <79045_79045> |
| Component: | UI | Assignee: | Ayhan Yalçınsoy <ayhanyalcinsoy> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | heiko.tietze, mentoring, serval2412, xiscofauli |
| Priority: | medium | Keywords: | difficultyBeginner, easyHack, skillDebug, topicUI |
| Version: | 7.0.0.0.alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.0.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 122245 | ||
| Attachments: | Illustration of the problem for Elementary | ||
|
Description
Roman Kuznetsov
2020-02-11 20:49:08 UTC
Created attachment 157807 [details]
Illustration of the problem for Elementary
On pc Debian x86-64 with master sources updated today, I could reproduce this. Here's a code pointer:
177 OUString sBmp(BMP_ACTION_REFRESH);
178 mxActionBar->insert_item(0, MNI_ACTION_NEW_FOLDER, SfxResId(STR_CATEGORY_NEW), &sBmp, nullptr, false);
179 mxActionBar->insert_item(1, MNI_ACTION_RENAME_FOLDER, SfxResId(STR_CATEGORY_RENAME), nullptr, nullptr, false);
180 mxActionBar->insert_item(2, MNI_ACTION_DELETE_FOLDER, SfxResId(STR_CATEGORY_DELETE), nullptr, nullptr, false);
181 mxActionBar->insert_separator(3, "separator");
182 mxActionBar->insert_item(4, MNI_ACTION_REFRESH, SfxResId(STR_ACTION_REFRESH), &sBmp, nullptr, false);
See https://opengrok.libreoffice.org/xref/core/sfx2/source/doc/templatedlg.cxx?r=f7804fc2#177
Heiko/Xisco: what about removing the wrong icon for New folder? Perhaps later it should be replaced with a brand new image?
Something like "sidebar-template-small" looks wrong. So indeed we better remove the icon. ayhanyalcinsoy committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b23183af90996395c19eea5c71c7b2f5640b838b tdf#130600:Removed the New Category and Refresh icons from Template 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. |