Bug 68116

Summary: [Autofilter] Pressing Shift + Tab and closing window causes spreadsheet grid to loose focus in some circumstances
Product: LibreOffice Reporter: Mirosław Zalewski <miniopl>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jmadero.dev
Priority: medium    
Version: 3.6.6.2 release   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Sample document with Autofilter

Description Mirosław Zalewski 2013-08-14 16:25:16 UTC
Created attachment 84065 [details]
Sample document with Autofilter

Steps to reproduce
1. Create any data set and apply autofilter (or open attached document)
2. Open AutoFilter pop-up window
3. Press Shift + Tab to "upper" part of window (where sorting option resides)
4. Press Esc to close window
5. Press left arrow few times

Result
Focus is applied to lowest toolbar. One can select "Function" or "Sum" buttons (or whatever resides there) with arrow press, but must press Esc again to select another cell.

Expected result
Focus should stay on spreadsheet cells. If user pressed Esc, then most likely he want to apply filter on another column than he initially selected.

Further note
Going to "All" checkbox and pressing Shift + Tab (to go back to entries list) produces the same result. 
But pressing Shift + Tab from any other part of this window produces Expected result.

Reproduced on:
- 3.6.6 from TDF website, Debian testing, amd64
- 4.0.4 from Debian repo, Debian testing, amd64
- 4.0.1 from TDF website, Debian testing, amd64
Comment 1 Joel Madero 2014-05-05 04:07:48 UTC
I cannot confirm this on 

Version: 4.3.0.0.alpha0+ Build ID: 84862db95a5e22b9ef89baa2a8a5deeffefbdef6
Date:   Thu Apr 24 21:43:16 2014 +0300
Platform: Ubuntu Linux 13.10 x64

Marking as WFM - please test on 4.3 daily if you want to confirm that it's no longer an issue. If you can still see the issue then mark as UNCONFIRMED and I'll try again.

http://dev-builds.libreoffice.org/daily/master/

Thanks!
Comment 2 Mirosław Zalewski 2014-05-05 20:49:37 UTC
I could not reproduce the issue on following version:
#v+
Version: 4.3.0.0.alpha1+
Build ID: 82a623fb08afc72decb78f061b751a43ae503678
TinderBox: Win-x86@39, Branch:master, Time: 2014-05-05_06:37:16
#v-

But I could on:
#v+
Version: 4.2.4.1
Build ID: d4c441391e20647b3d2e8dde4d20aa868e77e515
#v-

It would be nice to have that fixed in 4.2 line as well, but I am fine with marking this bug as RESOLVED FIXED, since it will not be present in 4.3 line and later.
Comment 3 Joel Madero 2014-05-05 21:04:41 UTC
WFM is proper as we don't know what commit fixed it. Thanks for the update!