Skip to content

App window is brought to foreground whenever Context::request_repaint is called #3620

@Barugon

Description

@Barugon

egui version 0.24.0

Describe the bug
In addition to what the title says, even without calling Context::request_repaint, the window remains on top when I switch to another app.

To Reproduce

  1. Build and runt the attached project. It will issue a Context::request_repaint every second.
  2. Switch to another app and note that this app's window will be moved to the foreground.

Even if Context::request_repaint is not deliberately called, moving your mouse over any exposed part of the window will bring it to the front.

Expected behavior
Context::request_repaint should not effect the desktop window order.

Desktop

  • Memory: 32.0 GiB
  • Processor: AMD Ryzen™ 9 3900X × 24
  • Graphics: AMD Radeon™ RX 6700 XT
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Type: 64-bit
  • GNOME Version: 45.1
  • Windowing System: Wayland
  • Kernel Version: Linux 6.5.12-300.fc39.x86_64

testy.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokeneframeRelates to epi and eframenative-linuxProblem specific to Linux

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions