You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "Motor-head (via GitHub)" <gi...@apache.org> on 2025/03/22 20:09:01 UTC

[I] Icons for Interface and Abstract class are not distinguished [netbeans]

Motor-head opened a new issue, #8358:
URL: https://github.com/apache/netbeans/issues/8358

   ### Apache NetBeans version
   
   Apache NetBeans 25
   
   ### What happened
   
   Netbeans 25 has same icons for Abstract class, Interface and regular java classes in the navigation panel. Previous versions had different icons.
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   Create New Interface file and Abstract class from Project explorer panel.
   All three files will have same icons.
   
   Netbeans 22:
   ![Image](https://github.com/user-attachments/assets/67de2132-0489-441a-93c4-bcfa70105b69)
   
   Netbeans 25:
   ![Image](https://github.com/user-attachments/assets/b1cbfe68-e609-4f71-8ff7-fc283397f093)
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 22
   
   ### Operating System
   
   Debian 12
   
   ### JDK
   
   JDK 21
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke closed issue #8358: Icons for Interface and Abstract class are not distinguished
URL: https://github.com/apache/netbeans/issues/8358


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2752760033

   @eirikbakke could connected to the changes in `ImageUtils`/SVG icons.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2755655757

   also the fact that nobody noticed it so far might indicate that the visual difference between those icons is a bit too small. We could check if there is a better way to represent class types. Maybe with letters A/I/R or increase color differences.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2754595073

   Good catch! Indeed, this is caused by the commit in PR https://github.com/apache/netbeans/pull/8083 . Though curiously, the right icons all seem to be in place, and inserting just the single `java/java.source/src/org/netbeans/modules/java/resources/abstract_class_file.svg` file makes it show up correctly. Perhaps a race condition or caching issue in/around `java/java.source/src/org/netbeans/modules/java/JavaNode.java`.
   
   I suddenly got busy with another project, so I'll get back to this in a few weeks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2756344447

   Perhaps the new SVG icons also have a tiny bit more contrasts, even though they try to follow the old style. The main difference is that they are sharper, and have fewer shadows and gradients (which could distract from the actually significant parts of the icon).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2752757062

   seems to be a NB 25 regression. It does still work in NB 24, updating the version in the description


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2755826964

   I think the existing icons are quite good; and someone did notice! For icons I like to follow the [5 rules of vexillology](https://nava.org/good-flag-bad-flag). Rule 4 is "no lettering".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "eirikbakke (via GitHub)" <gi...@apache.org>.
eirikbakke commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2756333640

   Fixed in https://github.com/apache/netbeans/pull/8362. There was an unusual piece of logic that actually checked the "url" property of the Icon to see if it matched a certain file name. Since the icon URL now ends with ".svg" instead of ".gif" or ".png", that particular check failed.
   
   Result after fix, with the new SVG icons now working properly for abstract classes and interfaces and others:
   
   <img width="521" alt="Image" src="https://github.com/user-attachments/assets/972cfa36-8857-4039-952e-ee0dc2db8cad" />
   
   Thank you for reporting this!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Icons for Interface and Abstract class are not distinguished [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #8358:
URL: https://github.com/apache/netbeans/issues/8358#issuecomment-2755893892

   nobody noticed during RC or PR review otherwise we would have reverted or fixed it. Letters are just one way how to convey what class type it is. 
   
   Generic UI guidelines are nice but you are free to pick the rules and keep internal consistency. Other UI guidelines will recommend one color for all icons and no icons in menus or solve everything with shapes or silhouettes. Whatever works is great as long its internally consistent and ideally self explanatory.
   
   navigator:
   ![Image](https://github.com/user-attachments/assets/695a2c2f-d68b-445b-abb3-bba72e5867d6)
   
   projects tree:
   ![Image](https://github.com/user-attachments/assets/f84a1fa4-51c8-4589-89a9-3e891afb6c92)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists