Comments (10)
位置和尺寸可能和缩放有关系,我禁用了软件的屏幕缩放后运行是正常的。试试在app构造前加入 QCoreApplication::setAttribute( Qt::AA_DisableHighDpiScaling ) 语句。这样可以使用窗口原生的坐标。
from fantascene-dynamic-wallpaper.
我可以试试app构造前加入 QCoreApplication::setAttribute( Qt::AA_DisableHighDpiScaling ) 这样的方法,NVDIA显卡下面是这样的情况.你用截图就知道,获取出来的最大尺寸是离25601440有差距的,也就是真实尺寸不是25601440,而我设置的大小时qt获取屏幕尺寸去设置的,qt获取屏幕尺寸是2050左右1100左右,而我设置这个尺寸不对.设置25601440也是不对的,所以增加了自定义设置,这个应该是硬件驱动的一个bug
from fantascene-dynamic-wallpaper.
现在解码只有一种,就是mpv播放器的opengl-cb播放,是硬解码,后续也会优化这方面,如果是双屏的话我为了得到数据,转化成了QImage,可能是有cpu占用影响,后续再优化
from fantascene-dynamic-wallpaper.
我试了一下,设置里面锁放,好像是存在问题,先试试你给的方法行不行,感谢
from fantascene-dynamic-wallpaper.
嗯,我电脑是双屏幕。笔记本 15.6寸+外接的27寸显示器,只在外接显示器上显示。
from fantascene-dynamic-wallpaper.
from fantascene-dynamic-wallpaper.
我用了一个很low的方法去规避问题,在屏幕尺寸和播放器不一致的时候,采用播放尺寸去渲染,至少现在看来是没有问题的,请在0.0.9版本查看,如果你那边用着没有问题,给我说一下,谢谢,那这个问题,应该和mpv和qopenglwidget中两个有一个bug,窗口大小变了,渲染尺寸却没有变
from fantascene-dynamic-wallpaper.
也就是窗口是20001100的时候,我却渲染的25601440,没有渲染数据的区域用黑色代替,导致了这个问题,现在第一次都回去判断一下尺寸问题,希望现在这个问题得到解决了
from fantascene-dynamic-wallpaper.
from fantascene-dynamic-wallpaper.
那个我知道,这个没办法解决,因为那一坨被干掉了,如果能够用原生dde-desktop来做动态壁纸才可以,等做桌面的人开放接口,囧
from fantascene-dynamic-wallpaper.
Related Issues (20)
- 添加对Ubuntu的支持 HOT 2
- 重启后软件占用变高,重新设置帧率后正常 HOT 4
- 可以适配loongnix系统吗?国产的龙芯操作系统可以正常编译,但是运行结果有些问题 HOT 3
- arm64版在UOS上打开无反应。 HOT 2
- 重装dde之后 无法显示 HOT 1
- archlinux aur 打包失败,提示=>错误:‘mpv_opengl_init_params’的初始值设定项太多 HOT 5
- 缺少库依赖 HOT 2
- Ubuntu20.04安装后打开软件报错 HOT 17
- 关于wayland上运行的一些建议 HOT 4
- Feature Request: Open selected icon through "Enter" key HOT 1
- Some icons can't be opened normally HOT 3
- 有关于双屏的问题 HOT 11
- Qtbase mismatch for deepin 20.9 HOT 3
- 建议优化一下托盘菜单选项 增加音量开关切换选项 HOT 1
- 启动软件时不会使用硬件解码 HOT 1
- debian testing: SONAME bump: libmpv1 -> libmpv2 HOT 5
- deepin20.9使用deepin专用版,找不到程序入口,只能从应用商店打开 HOT 6
- deepin20.9使用1.4.4通用版,桌面图标显示问题 HOT 1
- i3wm use fantascene is cover screen ,cannot see other HOT 1
- i see your introduction, can you build copyq qt software APPimage HOT 21
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 fantascene-dynamic-wallpaper.