You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/06/13 06:46:24 UTC

[GitHub] [netbeans] PavelCibulka opened a new issue, #4221: Netbeans icon on linux is doubled

PavelCibulka opened a new issue, #4221:
URL: https://github.com/apache/netbeans/issues/4221

   ### Description
   
   When you add netbeans icon into favorite bar (Ubuntu 22.04 Gnome) you get icon to easily start netbeans. When you start netbeans with this icon, second icon will appear in favorite bar. This is due to icon file (**~/.local/share/applications/Apache NetBeans-14.desktop**) not havving StartupWMClass property.
   
   This can be easily fixed. (But I don't know, where is code for this icon in Netbeans source code). Adding **StartupWMClass=Apache NetBeans IDE 14** will fix this issue.
   
   Example of original **Apache NetBeans-14.desktop** file:
   ```
   [Desktop Entry]
   Encoding=UTF-8
   Name=Apache NetBeans IDE 14
   Comment=The Smarter Way to Code
   Exec=/bin/sh "/home/pavel/netbeans-14/netbeans/bin/netbeans"
   Icon=/home/pavel/netbeans-14/netbeans/nb/netbeans.png
   Categories=Application;Development;Java;IDE
   Version=1.0
   Type=Application
   Terminal=0
   ```
   
   Example of fixed version:
   ```
   [Desktop Entry]
   Encoding=UTF-8
   Name=Apache NetBeans IDE 14
   Comment=The Smarter Way to Code
   Exec=/bin/sh "/home/pavel/netbeans-14/netbeans/bin/netbeans"
   Icon=/home/pavel/netbeans-14/netbeans/nb/netbeans.png
   Categories=Application;Development;Java;IDE
   Version=1.0
   Type=Application
   Terminal=0
   StartupWMClass=Apache NetBeans IDE 14
   ```
   
   ### Use case/motivation
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)
   


-- 
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


[GitHub] [netbeans] neilcsmith-net commented on issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4221:
URL: https://github.com/apache/netbeans/issues/4221#issuecomment-1156411344

   Thanks @PavelCibulka - good to know GNOME have fixed their side of this issue. Should be a simpler fix in the Linux installer now.


-- 
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


[GitHub] [netbeans] PavelCibulka commented on issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
PavelCibulka commented on issue #4221:
URL: https://github.com/apache/netbeans/issues/4221#issuecomment-1338942781

   It is fixed in Netbeans 16 DEB installer


-- 
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


[GitHub] [netbeans] mbien commented on issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
mbien commented on issue #4221:
URL: https://github.com/apache/netbeans/issues/4221#issuecomment-1154600577

   you were using the linux installer I suppose?


-- 
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


[GitHub] [netbeans] PavelCibulka commented on issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
PavelCibulka commented on issue #4221:
URL: https://github.com/apache/netbeans/issues/4221#issuecomment-1156408331

   Yes, just setting correct StartupWMClass is enough to fix the issue.


-- 
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


[GitHub] [netbeans] neilcsmith-net commented on issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4221:
URL: https://github.com/apache/netbeans/issues/4221#issuecomment-1156383262

   This is a known issue.  However, are you saying that _just_ setting `StartupWMClass` fixes the issue?  Previously this only worked when using `--nosplash` as GNOME picked up the WM class from that and didn't consider the full IDE window in terms of icon grouping.  The other workaround is to rename the desktop file to eg. `apache-netbeans-ide-14.desktop` which does the same thing but doesn't seem to be affected by the splash.
   
   Incidentally, there is a DEB package under [community installers](https://netbeans.apache.org/download/nb14/nb14.html#_community_installers) (with or without bundled runtime) that does set both and shouldn't be affected by this issue.


-- 
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


[GitHub] [netbeans] PavelCibulka commented on issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
PavelCibulka commented on issue #4221:
URL: https://github.com/apache/netbeans/issues/4221#issuecomment-1154756086

   Yes, Apache-NetBeans-14-bin-linux-x64.sh from https://dlcdn.apache.org/netbeans/netbeans-installers/14/


-- 
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


[GitHub] [netbeans] PavelCibulka closed issue #4221: Netbeans icon on linux is doubled

Posted by GitBox <gi...@apache.org>.
PavelCibulka closed issue #4221: Netbeans icon on linux is doubled
URL: https://github.com/apache/netbeans/issues/4221


-- 
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