flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
8.01k stars 275 forks source link

Black Borders when not in fullscreen on windows #842

Open winpower21 opened 11 months ago

winpower21 commented 11 months ago

Describe the bug
Thick black borders around the window when not in fullscreen on windows

To Reproduce
Steps to reproduce the behavior:

  1. Install Rnote on windows 11
  2. Run Rnote

Expected behavior
No black borders around the window.

Screenshots
image

Desktop:

flxzt commented 8 months ago

Is this still consistently happening for you? It looks like the compositing failed. I saw this personally on linux as well, but not specific to Rnote and usually only when a crash in the desktop environment/the compositor happened.

Doublonmousse commented 4 months ago

Maybe related ? https://gitlab.gnome.org/GNOME/gtk/-/issues/6401 It might be fixed on gtk 4.14 regardless of the renderer for nvidia graphics cards (gl or ngl, the gl one was reported to have black borders)

Doublonmousse commented 4 weeks ago

From #1197

Snipaste_2024-09-01_17-53-09

版本 Windows 11 专业版 版本号 23H2 安装日期 ‎2024/‎8/‎26 操作系统版本 22631.4112 体验 Windows Feature Experience Pack 1000.22700.1034.0

[显示] DirectX 版本: 12.0 GPU 处理器: NVIDIA GeForce RTX 3050 4GB Laptop GPU 驱动程序版本: 560.94 驱动器类型: DCH Direct3D 功能级别: 12_1 CUDA 核心: 2560 Max-Q 技术 是 动态增强 是 WhisperMode 否 高级 Optimus 否 显卡最大功率 50 W 核心时钟: 1365 MHz 内存数据速率: 14.00 Gbps 内存接口: 64-位 内存带宽: 112.02 GB/秒 全部可用的图形内存: 20308MB 专用视频内存: 4096 MB GDDR6 系统视频内存: 0MB 共享系统内存: 16212MB 视频 BIOS 版本: 94.07.87.00.4D IRQ: Not used 总线: PCI Express x4 设备 ID: 10DE 25AB 50D417AA 部件编号: 4728 0010

[组件]

nvui.dll 8.17.15.6094 NVIDIA User Experience Driver Component nvxdplcy.dll 8.17.15.6094 NVIDIA User Experience Driver Component nvxdbat.dll 8.17.15.6094 NVIDIA User Experience Driver Component nvxdapix.dll 8.17.15.6094 NVIDIA User Experience Driver Component NVCPL.DLL 8.17.15.6094 NVIDIA User Experience Driver Component nvCplUIR.dll 8.1.940.0 NVIDIA Control Panel nvCplUI.exe 8.1.940.0 NVIDIA Control Panel nvLicensingS.dll 6.14.15.6094 NVIDIA Licensing Server nvViTvSR.dll 32.0.15.6094 NVIDIA Video Server nvViTvS.dll 32.0.15.6094 NVIDIA Video Server nvDispSR.dll 32.0.15.6094 NVIDIA Display Server nvDispS.dll 32.0.15.6094 NVIDIA Display Server nvDevToolSR.dll 32.0.15.6094 NVIDIA Licensing Server nvDevToolS.dll 32.0.15.6094 NVIDIA 3D Settings Server nvWSSR.dll 32.0.15.6094 NVIDIA Workstation Server nvWSS.dll 32.0.15.6094 NVIDIA Workstation Server PhysX 09.23.1019 NVIDIA PhysX NVCUDA64.DLL 32.0.15.6094 NVIDIA CUDA 12.6.65 driver nvGameSR.dll 32.0.15.6094 NVIDIA 3D Settings Server nvGameS.dll 32.0.15.6094 NVIDIA 3D Settings Server

Doublonmousse commented 2 weeks ago

Tracking upstream issue : https://gitlab.gnome.org/GNOME/gtk/-/issues/7001 and another related message : https://gitlab.gnome.org/GNOME/gtk/-/issues/6975#note_2215037

Basically the shadow is drawn by gtk and it doesn't always work (hence the black bar). We'll have to wait on gtk to use windows's built in shadows, that should fix this