Skip to content

GitLab

  • Menu
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,432
    • Issues 1,432
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 246
    • Merge requests 246
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • gtkgtk
  • Merge requests
  • !276

Closed
Created Jul 27, 2018 by Luca Bacci@lb90Developer
  • Report abuse
Report abuse

GdkWin32: Avoid ShowOwnedPopups in gdk_win32_window_hide

  • Overview 6
  • Commits 1
  • Pipelines 1
  • Changes 1

gdk_win32_window_hide() calls ShowOwnedPopups(hwnd, FALSE) and that hides all windows that are owned by hwnd.

If a GtkWindow has any other GtkWindow as transient children, the call to gtk_widget_hide() has the side effect of hiding also its transient children. Removing the call to ShowOwnedPopups(hwnd, FALSE) fixes this.

I have attached a test showing the issue. I suggest to test on X11 and then on Win32 and see the difference. With this patch applied they work the same

test_transient.c

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: gdkwin32-fix-gdk-window-hide