change to DockManager.cpp causes notepadnext 'find' to continuously lose focus
https://github.com/dail8859/NotepadNext/issues/744
Prior to the notepadnext project update of ADS, the 'find' dialog child window remained focused 'in foreground' but after, focus is lost almost immediately.
It is possible that changes to ADS also require a change to notepadnext but the developer has responded that they are unaware of any need to change their code.
Because it is not clear what the exact cause of the problem is, or where it lies, this report is FYI.
@noabody Thank you for reporting this problem but I have no idea how to fix this because I do not know why calling raise for a window changes the focus - this is strange.
@noabody Could you please test, if this issue also occurs on Ubuntu 22.04. Arch Linux us not a supported ADS platform.
Tank you.
NotepadNext-v0.11-x86_64.AppImage works as expected with live boot of ubuntu-22.04.5-desktop-amd64.iso.
@noabody Thank you for testing this. Then it seem to be a very special Arch Linux related issue. I do not have Arch Linux here so I'm not able to fix this.
Should I keep this issue open?
Problem is confirmed on Manjaro xfce 25.0.1 and Xubuntu 24.04.2. Looks like an issue with xfce4's compositor.
Settings > 'Window Manager Tweaks' has a tab called 'Focus'.
Selecting 'Activate focus stealing prevention' and 'Do nothing' for 'When a window raises itself', seems to mitigate the issue. Deselecting 'Enable display compositing' on the 'Compositor' tab, also works.
Thank you @githubuser0xFFFF for your attention. This was always an FYI and you are free to close at your discretion. I am concerned that the Xfce compositor setting that solves this problem is specifically designed to prevent the so-called 'stealing' of focus.
Added this to user guide