Font Icons not used in several points
Description
Environment
Attachments
- 20 Nov 2020, 06:16 PM
relates to
Activity

Anozi Mada February 11, 2022 at 9:00 AM
The left over which I don’t solve:
WFNodeWidget 99: It’s not in org.adempiere.ui.zk
HTMLExtension 127: (html report -> link to window/report) It’s in iframe

Anozi Mada February 11, 2022 at 8:50 AMEdited
https://github.com/idempiere/idempiere/pull/1169
WFactReconcile
WTreeMaintenance
DashboardController
DefaultDesktop
MenuTreeSearchPanel
https://github.com/idempiere/idempiere/pull/1176
Class | Line | How to check the UI |
---|---|---|
AutoComplete | 188 | Open menu Menu, search with tree search bar |
FolderBrowser | 132,144 | Open House Keeping, check Export XML Backup, click File Path button |
ConfirmPanel | 285,294 | Open any Info Window that have Process with Layout Type Button and Image URL filled |
InfoWindow | 402,525 | Open any Info Window that have Process with Layout Type List/Menu and Image URL filled |
WAppsAction | 101 | Open Material Receipt, click Create From, see Select All button |
ButtonFactory | 120,130 | Open customize grid, see navigation buttons |
BusyDialog | 43 | Open report, see the loading indicator |
Breadcrumb | 293 | Open Sales Order > Order Line, see the breadcrumb menu dropdown |
Carlos Ruiz November 30, 2020 at 4:34 PMEdited
apart from Workflow Editor also found:
WFactReconcile:159
WTreeMaintenance:127..130
AutoComplete:188
ConfirmPanel:285,294
Tab:98
WAppsAction:103
DPActivities:81,91,101,112
DPRunningJobs:197
DashboardController:447
DefaultDesktop:729,398,405,415,430,719
ButtonFactory:120,130 (see below)
InfoWindow:497,338,374
WInfoPAttributeEditor:49
MenuTreeSearchPanel:105,86
WRC2FieldOrderPanel:145,148
WRC3SortCriteriaPanel:115,118,164,167
WGadgets:158,161
Carlos Ruiz November 20, 2020 at 6:26 PM
See org.compiere.apps.wf.WFNodeWidget(Scene scene, MWFNode node)
around line 93
ImageWidget titleIcon = new ImageWidget (scene);
String action = node.getAction();
int index = MTreeNode.getImageIndex(action);
ImageIcon icon = (ImageIcon) MTreeNode.getIcon(index); // TODO: font icon
if (icon != null)
{
titleIcon.setImage (icon.getImage());
titleIcon.setToolTipText(getActionType(node));
titleWidget.addChild (titleIcon);
}
and that leads to MTreeNode.getIcon -> IMAGES -> Env.getImageIcon
When using Font Icons, the workflow editor still shows the theme icons: