I'm revisiting an issue I've mentioned before but can't find my previous posts or bug reports. I'm using Lazarus 2.3.0 (rev e9d296ce8e) with FPC 3.3.1 on Linux Mint 21 (x86_64-linux-gtk2), along with the Anchor Docking package.
The problem is with Lazarus IDE windows remaining on top of other application windows, even when those applications are focused. Normally, clicking or setting focus on another application should raise its window above the Lazarus windows, but this is not happening. Instead, I have to manually move the other application's window by its title bar to bring it to the front. This issue seems to be specific to Lazarus, as I haven't encountered it with any other applications.
It feels like a system-level issue, yet it only occurs in Lazarus. Could this be related to the way Lazarus handles window stacking or interacts with the system's window manager, especially when using Anchor Docking?
I'd appreciate any insights or suggestions on how to troubleshoot this further and pinpoint the root cause.