Sumatra PDF is THE perfect PDF reader for Windows.
However I encountered an issue while developing the AltDrag software RamonUnch/AltSnap#67.
The problem comes from the fact that Sumatra returns HTCAPTION when the WM_NCHITTEST message is sent and the lParam points towards any of the tabs.
This HTCAPTION should be returned ONLY when lParam is pointing to the title bar outside of the tabs.
When lParam points into a tab, the HTCLIENT value should be returned.
The only other program with tabs I encountered having the same problem is MS Terminal and it will be fixed at some point microsoft/terminal#9443.
Could this be fixed for Sumatra PDF as well? this would also be potentially helpful for other accessibility tools that rely on the WM_NCHITTEST messaging.
Sumatra PDF is THE perfect PDF reader for Windows.
However I encountered an issue while developing the AltDrag software RamonUnch/AltSnap#67.
The problem comes from the fact that Sumatra returns
HTCAPTIONwhen theWM_NCHITTESTmessage is sent and the lParam points towards any of the tabs.This HTCAPTION should be returned ONLY when lParam is pointing to the title bar outside of the tabs.
When lParam points into a tab, the
HTCLIENTvalue should be returned.The only other program with tabs I encountered having the same problem is MS Terminal and it will be fixed at some point microsoft/terminal#9443.
Could this be fixed for Sumatra PDF as well? this would also be potentially helpful for other accessibility tools that rely on the
WM_NCHITTESTmessaging.