SamHurne/gw2pao

Overlays stops responding to mouse input

Closed this issue · 2 comments

I have this problem where the overlay windows do not always respond to mouse input. My system behaves as if the overlays are not there. When I click an overlay window, the window does not capture the click event. Whatever is underneath the overlay window does register the click event.

I can still use keyboard shortcuts to do basic things like moving the overlays around, so the overlays are definitely not frozen.

edit
it seems that there is a setting named IsClickthroughEnabled that causes this behavior. I must have enabled it by accident. What's the point of this setting?

edit (original message)
Additional info: deleting the user.config file that is inside a subdirectory of %LOCALAPPDATA%\GW2PAO\ fixes the symptoms above.

In case it helps with debugging: replace your user.config with the following values, then run gw2pao. Your overlays should now stop responding to mouse input.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <userSettings>
        <GW2PAO.Properties.Settings>
            <setting name="ZoneAssistantHeight" serializeAs="String">
                <value>399</value>
            </setting>
            <setting name="ZoneAssistantWidth" serializeAs="String">
                <value>225</value>
            </setting>
            <setting name="ZoneAssistantX" serializeAs="String">
                <value>240</value>
            </setting>
            <setting name="ZoneAssistantY" serializeAs="String">
                <value>554</value>
            </setting>
            <setting name="IsLoggingEnabled" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="DungeonTrackerHeight" serializeAs="String">
                <value>125</value>
            </setting>
            <setting name="DungeonTrackerWidth" serializeAs="String">
                <value>280</value>
            </setting>
            <setting name="DungeonTrackerX" serializeAs="String">
                <value>-1</value>
            </setting>
            <setting name="DungeonTrackerY" serializeAs="String">
                <value>-1</value>
            </setting>
            <setting name="WvWTrackerHeight" serializeAs="String">
                <value>209</value>
            </setting>
            <setting name="WvWTrackerWidth" serializeAs="String">
                <value>182</value>
            </setting>
            <setting name="WvWTrackerX" serializeAs="String">
                <value>-1</value>
            </setting>
            <setting name="WvWTrackerY" serializeAs="String">
                <value>-1</value>
            </setting>
            <setting name="UpgradeRequired" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="IsZoneAssistantOpen" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="IsWvWTrackerOpen" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="OverlayIconX" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="OverlayIconY" serializeAs="String">
                <value>29</value>
            </setting>
            <setting name="IsClickthroughEnabled" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="FirstTimeRun" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="Language" serializeAs="String">
                <value>en</value>
            </setting>
            <setting name="PriceTrackerHeight" serializeAs="String">
                <value>125</value>
            </setting>
            <setting name="PriceTrackerWidth" serializeAs="String">
                <value>250</value>
            </setting>
            <setting name="PriceTrackerX" serializeAs="String">
                <value>257</value>
            </setting>
            <setting name="PriceTrackerY" serializeAs="String">
                <value>445</value>
            </setting>
            <setting name="IsPriceTrackerOpen" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="Hotkeys" serializeAs="String">
                <value>{"ToggleAllWindowsHotkey":{"Key":0,"KeyModifiers":0},"ToggleInteractiveWindowsHotkey":{"Key":0,"KeyModifiers":0},"ToggleNotificationWindowBordersHotkey":{"Key":0,"KeyModifiers":0},"ToggleAutoFadeBordersHotkey":{"Key":0,"KeyModifiers":0},"ToggleOverlayMenuIconHotkey":{"Key":0,"KeyModifiers":0},"ToggleEventTrackerHotkey":{"Key":0,"KeyModifiers":0},"ToggleDungeonsTrackerHotkey":{"Key":0,"KeyModifiers":0},"ToggleDungeonTimerHotkey":{"Key":0,"KeyModifiers":0},"TogglePriceTrackerHotkey":{"Key":0,"KeyModifiers":0},"ToggleWvWTrackerHotkey":{"Key":0,"KeyModifiers":0},"ToggleZoneAssistantHotkey":{"Key":0,"KeyModifiers":0},"ToggleTaskTrackerHotkey":{"Key":0,"KeyModifiers":0},"ToggleTeamspeakTrackerHotkey":{"Key":0,"KeyModifiers":0},"ToggleWebBrowserHotkey":{"Key":0,"KeyModifiers":0}}</value>
            </setting>
            <setting name="DungeonTimerX" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="DungeonTimerY" serializeAs="String">
                <value>0</value>
            </setting>
            <setting name="DungeonTimerHeight" serializeAs="String">
                <value>110</value>
            </setting>
            <setting name="DungeonTimerWidth" serializeAs="String">
                <value>250</value>
            </setting>
            <setting name="IsTaskTrackerOpen" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="TaskTrackerHeight" serializeAs="String">
                <value>125</value>
            </setting>
            <setting name="TaskTrackerWidth" serializeAs="String">
                <value>250</value>
            </setting>
            <setting name="TaskTrackerX" serializeAs="String">
                <value>613</value>
            </setting>
            <setting name="TaskTrackerY" serializeAs="String">
                <value>423</value>
            </setting>
        </GW2PAO.Properties.Settings>
    </userSettings>
</configuration>

Okay, I finally figured it out. There's a setting named "Non-interactive Windows" that enables this. Not a bug.