Page MenuHome GnuPG

GpgOL: Config dialog not registering as closed
Testing, HighPublic

Description

Possible regression from Qt6. When I close the config dialog with the X button it is not registered as closed by the plugin and the plugin tries to bring a no longer existing dialog in the foreground.

10:52:07/8708/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: openOptions
10:52:07/8708/DBG_OOM/gpgoladdin.cpp:Invoke: enter with dispid: 12
10:52:07/8708/DBG_OOM/oomhelp.cpp:get_oom_object: looking for 2a5f0310->`ActiveWindow'
10:52:07/8708/DBG_OOM/oomhelp.cpp:get_oom_object:411 AddRef on 25cf25e0
10:52:07/8708/addin-options.cpp:options_dialog_box: Launching gpgolconfig.
10:52:07/9864/addin-options.cpp:open_gpgolconfig: args:
10:52:07/9864/0: 'C:\Program Files (x86)\Gpg4win\bin\gpgolconfig.exe'
10:52:07/9864/1: '--hwnd'
10:52:07/9864/2: '1574064'
10:52:07/9864/3: '--gpgol-version'
10:52:07/9864/4: '2.5.13-beta14'
10:52:07/9864/5: '--lang'
10:52:07/9864/6: 'de_DE'
10:52:10/8708/gpgoladdin.cpp:GetIDsOfNames: GetIDsOfNames for: openOptions
10:52:10/8708/DBG_OOM/gpgoladdin.cpp:Invoke: enter with dispid: 12
10:52:10/8708/DBG_OOM/oomhelp.cpp:get_oom_object: looking for 2a5f0310->`ActiveWindow'
10:52:10/8708/DBG_OOM/oomhelp.cpp:get_oom_object:411 AddRef on 25cf25e0
10:52:10/8708/addin-options.cpp:options_dialog_box: Gpgolconfig open. Not launching new dialog.
10:52:10/8708/addin-options.cpp:options_dialog_box: Gpgolconfig open but could not find window.

Event Timeline

aheinecke created this task.
werner mentioned this in Unknown Object (Phriction Wiki Document).Sep 26 2024, 3:35 PM
alexk changed the task status from Open to Testing.May 22 2025, 2:03 PM
alexk added a project: qt.
alexk added a subscriber: alexk.

Test with KF6 (open, close, open config dialog).

alexk moved this task from Backlog to QA on the gpd5x board.
ebo raised the priority of this task from Normal to High.Jul 10 2025, 4:49 PM
ebo moved this task from QA to Backlog on the gpd5x board.
ebo added a subscriber: ebo.

tested with Gpg4win 5.0Beta-336

If you open, close, open the config dialog, on the second try to open nothing does happen.

In Debugview, on the first "open" gpgolconfig.exe will print a lot of lines with "Not all environment variables could be expanded.".
On the second try, nothing.

And gpgolconfig.exe is never terminated. Not when closing the Dialog and not even after quitting Outlook.

TobiasFella mentioned this in Unknown Object (Maniphest Task).Jul 21 2025, 9:56 AM