sublimehq / sublime_text

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

[ST4] Titlebar glitches #4134

Open pygillier opened 3 years ago

pygillier commented 3 years ago

Description

During normal usage, the titlebar randomly disappears or glitches (flashing & artifacts) and the titlebar of underneath windows is displayed

Steps to reproduce

  1. Open ST4
  2. Open files
  3. Edit files

Expected behavior

No glitches or disappearance

Actual behavior

Visual glitches.

Environment

BenjaminSchaaf commented 3 years ago

Can you demonstrate the kind of glitches with a video or screenshot?

pygillier commented 3 years ago

Ahah, totally forgot to attach it.

As you can see, the titlebar of my firefox instance "replaces" the one from ST. st4-4103

BenjaminSchaaf commented 3 years ago

Are you using hardware acceleration?

pygillier commented 3 years ago

Are you using hardware acceleration?

Yes, I do. I've just disabled it and will check if the bug still happen.

pygillier commented 3 years ago

@BenjaminSchaaf after more than an hour with hardware acceleration disabled, I can confirm it's related.

BenjaminSchaaf commented 3 years ago

The titlebar is drawn entirely by GTK and GTK rendering with hardware acceleration is a little broken depending on the drivers you're using, so there's not really anything we can do about it. GTK4 fixes these issues, but it's barely available anywhere.