Bug 164138 - Different macro languages in new Macro organizer dialog should have different icons
Summary: Different macro languages in new Macro organizer dialog should have different...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Icon-Request Macro_Manager
  Show dependency treegraph
 
Reported: 2024-12-03 08:06 UTC by Roman Kuznetsov
Modified: 2024-12-04 07:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (61.21 KB, image/png)
2024-12-03 10:55 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2024-12-03 08:06:29 UTC
Description:
Different macro languages in new Macro organizer dialog should have different icons.

Every programming language has its own symbol/logo:

Python - blue/yellow cross
Java - a couple with some vapor
Basic - I didn't find it (haha)
JS - is just JS letters on some background
etc.

So would be great if every script in the macro organizer dialog have it's onw icon

Another idea is icons with some letters, like

Basic - Bas
Python - Pt
Java - Java
JS - JS
BeanShell - BS 

Steps to Reproduce:
1. Make sure you have enabled experimental features
2. Open Tools-Macros-Macro manager 
3. Expand Basic and Python macro on left side of the dialog
4. Look at icons near modules/macro names - it are the same

Actual Results:
All module/macro have the same icons for different languages

Expected Results:
All module/macro have the different icons for different languages


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 94afced0195ef824e575176e33c79ca57484cd5c
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: threaded
Comment 1 Heiko Tietze 2024-12-03 10:55:54 UTC
Created attachment 197913 [details]
Screenshot

Do you mean the MIME type icons in the treeview?
Comment 2 Roman Kuznetsov 2024-12-03 16:17:12 UTC
(In reply to Heiko Tietze from comment #1)
> Created attachment 197913 [details]
> Screenshot
> 
> Do you mean the MIME type icons in the treeview?

Yes
Comment 3 Jim Raykowski 2024-12-04 01:31:58 UTC
There appears to be provision for this here:

https://opengrok.libreoffice.org/xref/core/cui/source/customize/cfgutil.cxx?r=55e86edc#719
Comment 4 Heiko Tietze 2024-12-04 07:48:04 UTC
(In reply to Jim Raykowski from comment #3)
> There appears to be provision for this here:
This variable factoryURL is either swriter or scalc depending on the module from where I start the macro manager.

But anyway, I think it wont harm if we show the proper icon decoration.