Comments (3)
使用版本2.0.1
调整下边界至70后 ,掉落至底端现象基本消失;但仍然会失去前置,将焦点离开任务栏后恢复正常。
见视频: https://github.com/isHarryh/Ark-Pets/assets/63101620/83dc0618-4743-4a36-b92a-1b28f9e37e73
from ark-pets.
经研究,掉落至底部是由于:
- 未打开开始菜单时,任务栏的高度为 H,桌宠可以站立到 H 处;
- 打开开始菜单后,任务栏实体消失导致未检测到窗口,或者任务栏高度增大为 (H+h) 且 h 大于桌宠高度 导致未实现站立。
此类问题可以通过 调整下边界距离 解决。
而失去前置是因为,任务栏与桌宠都是置顶(TOPMOST)的窗口,点击任务栏后其层叠次序(z-index)被置于最先,属于正常现象。
from ark-pets.
根据我的DPI缩放150%,将下边界距离调至72后,就完全不会有陷入任务栏现象了。除了全屏时有点怪就是啦
前置这个问题和陷入任务栏是有关系的,所以也一起解决了。
感谢您花了这么长时间研究这些问题。
from ark-pets.
Related Issues (20)
- [Feature Request] 支持多屏幕 HOT 2
- [Exception] 无法启动桌宠窗口: java.awt.AWTError HOT 3
- [Feature Request] 添加自定义桌宠窗口大小的功能 HOT 1
- [Exception] 桌宠运行时异常退出 HOT 2
- [Bug] 出現"ArkPets Core"無法隱藏的問題 HOT 8
- [Feature Request] 系统托盘图标功能增强 HOT 1
- [Bug] 某些模型的组件图层缺失 HOT 1
- [Bug] 無法隱藏寵物視窗 HOT 3
- [Bug] 在桌面时小人会落到屏幕底端而非保持在任务栏上 HOT 1
- [Exception] 无法启动桌宠窗口 HOT 2
- [Bug] 干员待机动作超出边界无法显示 HOT 1
- [Feature Request] 新增通过时装品牌搜索干员小人
- [Enhancement] Windows安装程序细节调整 HOT 2
- [Bug] 动作保持时拖动浮起 HOT 2
- [Bug] 开机自启动后窗口在任务栏中保持高亮状态 HOT 1
- [Bug] 桌宠尝试原地跳高 HOT 4
- [Feature Request] 关于透明模式记忆和快捷键的建议
- [Frature Request] 添加干员小人躺下的动作 HOT 1
- [Exception] 背景有黑边该怎么解决
- [Feature Request] 增加我方干员战斗小人模型 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ark-pets.