[Suggestion] Improving Icon Compatibility for WPS Office in Zotero Word Add-in
I’ve been using the Zotero Word Add-in (zotero.dotm) within WPS Office and noticed a UI compatibility issue.
In WPS Office, the icons for "Refresh" and "Unlink Citations" do not display correctly; they appear as placeholder question marks.
https://s3.amazonaws.com/zotero.org/images/forums/u10055476/olpar24lg9ma6iivuxhc.png
After inspecting the customUI.xml file within the unzipped zotero.dotm, I identified the cause of this discrepancy:
Buttons such as "Add/Edit Citation", "Add/Edit Bibliography", and "Document Preferences" use the image attribute to reference local image files bundled within the add-in.
However, the "Refresh" and "Unlink Citations" buttons use the imageMso attribute (specifically imageMso="RecordsRefreshRecords" and imageMso="TableUnlinkExternalData") to call Microsoft Office’s internal icon library.
While imageMso works perfectly in Microsoft Word, WPS Office does not share the same internal icon IDs, resulting in broken UI elements in that environment.
As WPS Office has significantly improved its VBA support recently, it has become a very viable and popular alternative for managing citations with Zotero. To ensure a consistent user experience across different office suites, would it be possible to replace these imageMso calls with local image references (PNGs), similar to how the other buttons are implemented?
Thank you for your time and for developing such an indispensable tool for the research community!
In WPS Office, the icons for "Refresh" and "Unlink Citations" do not display correctly; they appear as placeholder question marks.
https://s3.amazonaws.com/zotero.org/images/forums/u10055476/olpar24lg9ma6iivuxhc.png
After inspecting the customUI.xml file within the unzipped zotero.dotm, I identified the cause of this discrepancy:
Buttons such as "Add/Edit Citation", "Add/Edit Bibliography", and "Document Preferences" use the image attribute to reference local image files bundled within the add-in.
However, the "Refresh" and "Unlink Citations" buttons use the imageMso attribute (specifically imageMso="RecordsRefreshRecords" and imageMso="TableUnlinkExternalData") to call Microsoft Office’s internal icon library.
While imageMso works perfectly in Microsoft Word, WPS Office does not share the same internal icon IDs, resulting in broken UI elements in that environment.
As WPS Office has significantly improved its VBA support recently, it has become a very viable and popular alternative for managing citations with Zotero. To ensure a consistent user experience across different office suites, would it be possible to replace these imageMso calls with local image references (PNGs), similar to how the other buttons are implemented?
Thank you for your time and for developing such an indispensable tool for the research community!
Upgrade Storage
The issue I am reporting is specifically a problem with the official Zotero Word Add-in when running in WPS Office. While this doesn't hinder the actual functionality of the plugin, I still look forward to seeing this resolved to improve the user experience for WPS users.