java-native-access / java-native-access/jna
Pin to taskbar
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Java applications do not have the ability to be pinned in the Windows taskbar, i.e. the option "Pin this program to taskbar" is not available.
There is not much info about this, I only found this: Using JNA to get/set application identifier. They use the shell32 function SetCurrentProcessExplicitAppUserModelID(WString appID) (not currently in JNA). However, that didn't work. The OP said:
The behavior you seem to be experiencing is a mode called "IsHostApp". Related
Do you have any knowledge about this? is it possible to pin a Java app with JNA?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Windows taskbar behavior described in the issue and the referenced SetCurrentProcessExplicitAppUserModelID shell32 entry point. Investigate whether JNA can support pinning Java applications, including the mentioned IsHostApp behavior. Done means establishing a supported implementation path or documenting why the feature is not possible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100