[Bug 38363] New: tab control ignores click after changing selected tab by arrow key.

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 5 08:09:28 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=38363

            Bug ID: 38363
           Summary: tab control ignores click after changing selected tab
                    by arrow key.
           Product: Wine
           Version: 1.7.39
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: comctl32
          Assignee: wine-bugs at winehq.org
          Reporter: ktmizugaki+wine at gmail.com
      Distribution: ---

tab control ignores click after changing selected tab by arrow key.

steps to reproduce:
1. open app which uses tab control (e.g. winecfg).
2. click tab to change tab.
3. press right arrow key to change tab. 
4. click another tab to change tab.
  expected: clicked tab is selected.
  actual: nothing happens.

if i select tab clicked in step 2 using arrow key, cliking tab works again.

i investigated and found that it related TCIS_BUTTONPRESSED state in tab
control.

in step 2, TCIS_BUTTONPRESSED state is set to the clicked tab in funciton
TAB_SetCurSel called from function TAB_LButtonDown.
in step 3, selected tab is changed but TCIS_BUTTONPRESSED state is not updated
in function TAB_SetCurFocus called from function TAB_KeyDown.
in step 4, function TAB_LButtonDown checks for the tab with TCIS_BUTTONPRESSED
and prevents it from changing tab.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list