[kleopatra] [Bug 497690] Minimize To Tray gone on Kleopatra 3.30 shipped with gpg4win 4.4.0
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Sat Dec 21 07:55:12 GMT 2024
https://bugs.kde.org/show_bug.cgi?id=497690
--- Comment #4 from iuqbgq9h-1 at yahoo.com ---
I ended up doing a binary patch on kleopatra.exe (from gpg4win 4.4.0 reports as
Kleopatra version 3.3.0). This was much simpler than compiling from source.
At offset 0xF710 in the file, changed the bytes 0xFF 0x15 to 0xEB 0x23.
This causes the function win_user_is_elevated() in userinfo_win.cpp to skip the
OpenProcessToken() code and always return false. So it always considers itself
non-elevated. Now everything is fine. No popup, and minimize-to-tray with
close button works.
Thanks for the help.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Kdepim-bugs
mailing list