gmg137 / netease-cloud-music-gtk

Linux 平台下基于 Rust + GTK 开发的网易云音乐播放器
GNU General Public License v3.0
1.51k stars 89 forks source link

双显示器 + KDE Plasma 时界面横跨两个显示器且无法进一步调窄的问题 #228

Open cnzhx opened 1 year ago

cnzhx commented 1 year ago

Describe the bug 如题。我运行的是 openSUSE Tumbleweed 上的 KDE Plasma。笔记本上扩展了一个桌面显示器,左右布局,配置了 200% 的全局缩放。今天尝试安装后,运行时软件界面很大,竖向可以调小,但是横向无法调小,始终横跨了两个显示器 —— 第二个显示器上大约占了1/5到1/4个屏幕宽度。最大化窗口的话也会跨到两个显示器。

To Reproduce Steps to reproduce the behavior:

  1. 在 openSUSE Tumbleweed + KDE Plasma 环境下,通过官方源安装 netease-cloud-music-gtk
  2. 运行 netease-cloud-music-gtk
  3. 看到问题

Expected behavior 能够拖动窗口边框来调整软件界面到小于一个显示器屏幕的窗口尺寸。

Screenshots No screenshot needed.

Desktop (please complete the following information):

gmg137 commented 1 year ago

你设置了 200% 的缩放才会超出屏幕,这个就算我提前检测屏幕象素也没用。

cnzhx commented 1 year ago

原来如此。谢谢回复 :)