HMCL-dev / HMCL-dev/HMCL

[Feature Request] 使用原生窗口装饰

Open
#2,081 5 comments 4 reactions 0 assignees View on GitHub

@Glavo is already working on this.

Since Sep 17, 2026.

  • #6885 by @Glavo — open
enhancement
Dominant language
Java
Stars
10.1k
Forks
934
Avg merge
1d 5h
Merged PRs (30d)
82

Description

现在 HMCL 是自己绘制的窗口阴影,与原生的窗口阴影存在一定的差异(比如截图工具会框选阴影)。由系统绘制可以得到更统一更原生的体验。

需要等待 https://github.com/openjdk/jfx/pull/594 完成。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review linked pull request #6885 and upstream OpenJFX pull request #594 first. Use the entry point identified in the existing PR; done means HMCL uses system-rendered window decoration instead of its custom shadow, avoiding the screenshot-selection issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.