Resizing window produces visual glitches OpenGL
Description
Resizing the window causes flashing on the sidebar and selective tabs depending on the tab layout
https://user-images.githubusercontent.com/5007796/117037660-a5e74580-acfe-11eb-8444-4db4457a0227.mp4
Steps to reproduce
- Enable hardware acceleration
"opengl" - Open Sidebar or select a tab layout with 2 or more tabs
- Resize window
Not able to reproduce the issue in build 4103
Environment
- Build: 4104
- Operating system and version: Windows 10 20H2 x64
Related https://github.com/sublimehq/sublime_text/issues/3892
4103 didn't have OpenGL enabled, can you try 4102?
Glitch persists
https://user-images.githubusercontent.com/5007796/117039793-17c08e80-ad01-11eb-9fcb-2d29939db0d0.mp4
Confirm that happening on both 4101 and 4104 with OpenGL enabled.
Custom titlebar (Adaptive or Daneo) flickers quite frequently, while making sidebar flicker requires the window to be resized slowly and in small steps.
Are you still seeing this in build 4169? There have been various OpenGL related fixes since 4101.
Not experiencing issues on my Dell XPS laptop when using the Integrated GPU, but only on the dedicated GPU. The title bar is the only part flashing now. Compared to the OP, I'm not getting the same flashes with the sidebar / views which is great, thanks.
https://github.com/sublimehq/sublime_text/assets/5007796/3f384202-3491-48ac-bf77-ff551002f5a2
Adaptive Theme, Breakers Color Scheme, Build 4170
iirc my original issue was on a desktop system with a NVIDIA GeForce GTX 1650 Super which I don't have access too atm so my results may differ. I've selected the dedicated GPU for Sublime Text from NVIDIA's control panel to try an mimic a similar environment.
Laptop Specs:
- Processor: Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
- RAM: 16.0 GB (15.7 GB usable)
- System type 64-bit operating system, x64-based processor
- OS: Windows 11 22H2, Build 22621.3085
- Integrated GPU
OpenGL Context Information:
GL API Version: 4.6.0 - Build 27.20.100.9664
GLSL Version: 4.60 - Build 27.20.100.9664
Vendor: Intel
Renderer: Intel(R) UHD Graphics 630
- Dedicated GPU
OpenGL Context Information:
GL API Version: 4.6.0 NVIDIA 528.79
GLSL Version: 4.60 NVIDIA
Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce GTX 1050 Ti with Max-Q Design/PCIe/SSE2
No flickering with Theme - Default
https://github.com/sublimehq/sublime_text/assets/5007796/bedbe578-797f-4a99-b78d-718740c77fe8
Dedicated GPU
Also see titlebar flickering with Adaptive or Theme - DAneo, which both use themed titlebars.