Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gtk gtk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,605
    • Issues 1,605
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 220
    • Merge requests 220
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • gtkgtk
  • Merge requests
  • !4392

Draft: Remove layered Windows from GTK3

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Isopod requested to merge Isopod/gtk:win32-nolayered into gtk-3-24 Jan 18, 2022
  • Overview 3
  • Commits 6
  • Pipelines 8
  • Changes 6

This is purely experimental. For now I just forward-ported !3331 to the latest gtk-3-24 branch. All the actual work has been done by @lrn. This branch is now a fusion of one of my own, earlier experiments and the repaint improvements from !3331.

What it does:

  • Remove layered windows from the GDK Win32 backend, use regular windows instead
  • Remove low-level keyboard hook
  • Use native aero snap
  • Optimize repainting (it's a lot less laggy than before)

Known bugs:

  • For now, all CSD stuff has been removed, so CSD windows have an additional titlebar.
  • For now, I removed constraints and increments from the window resizing code.
  • Sometimes there are warnings about widgets size allocation. (But they are getting rarer)
  • (animated) widgets are randomly not invalidated This seems to be fixed now. I think?

image

Other than that it seems to work.

Edited Jan 20, 2022 by Isopod
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: win32-nolayered