sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
814 stars 40 forks source link

ST4 4106 Tab bar doubling with hardware acceleration. #4184

Open Adhithya03 opened 3 years ago

Adhithya03 commented 3 years ago

Description

With hardware acceleration , bringing up the menu in full screen causes tab bar double effect.

image

Steps to reproduce

  1. Enable hardware acceleration

  2. Use full screen mode (F11)

  3. Bring up menu by pressing alt

Expected behavior

Single tab bar should appear.

Actual behavior

Double tab bar is visible.

Environment

deathaxe commented 3 years ago

ST prints hardware information about graphics card and driver to console when starting. Those might be helpful to find the reason for this issue.

Any other information about scaling, resolution, ... might be useful, too.

I can't reproduce this issue with Default/Adaptive/DAneo themes.

OpenGL Context Information:
  GL API Version: 4.6.0 NVIDIA 465.89
  GLSL Version: 4.60 NVIDIA
  Vendor: NVIDIA Corporation
  Renderer: NVIDIA GeForce GTX 980/PCIe/SSE2
Adhithya03 commented 3 years ago

Even though I have NVDIA 1650 GPU sublime is not using it . I don't know how to fix that.

More info :

OS : Windows 10 21H1 x64 UI theme : BROGRAMMER OS scaling : 125 % Resolution : 1920 x 1080 Sublime Build : 4106

OpenGL Context Information:
      GL API Version: 4.6.0 - Build 27.20.100.8935
      GLSL Version: 4.60 - Build 27.20.100.8935
      Vendor: Intel
      Renderer: Intel(R) UHD Graphics
deathaxe commented 3 years ago

Intel drivers are known to cause some trouble.

Maybe https://www.thewindowsclub.com/choose-different-gpu-for-different-apps-windows-10 helps? Can't try it myself as I only have one dedicated GPU.

Adhithya03 commented 3 years ago

Wow I switched to GPU , with your help and it solved the problem. Thank you so much

image Shall I close this issue ??

deathaxe commented 3 years ago

Maybe it's worth keeping it open for a while incase core devs are scheduling those to possibly try to fix them. There are numerous opengl driver bugs to work around.