Skip to content

Can't focus Browse Data tables dropdown #908

Open

Description

@revolter

Details for the issue

Previously, after selecting a table and closing the dropdown, it remained focused, so you could hit the up/down arrow keys to change the table. Now, I can't focus it at all, even with multiple tab key presses.

Useful extra information

I'm opening this issue because:

  • DB4S is crashing
  • DB4S has a bug
  • DB4S needs a feature
  • DB4S has another problem

I'm using DB4S on:

  • Windows: ( version: ___ )
  • Linux: ( distro: ___ )
  • Mac OS: ( version: Siera )
  • Other: ___

I'm using DB4S version:

  • 3.9.1
  • 3.9.0
  • Other: Nightly 20.12.2016

I have also:

Activity

  1. justinclift commented on Dec 20, 2016

    @justinclift
    Member

    Interesting. Does the nightly build from yesterday have the same problem? If not, then it narrows the change down to something from yesterday, so easier to investigate. 😄

  2. revolter commented on Dec 20, 2016

    @revolter
    MemberAuthor

    No, it doesn't. Looks like tab index was removed from most of the controls.

  3. justinclift commented on Dec 20, 2016

    @justinclift
    Member

    Interesting. Nothing from yesterday's changes is really jumping out at me as a smoking gun.

    Unless maybe loadPragmas() is having some kind of unintended side effect.

    Hmmm, going to assign to @MKleusberg, as it's likely his new code doing it. 😉

  4. revolter commented on Dec 20, 2016

    @revolter
    MemberAuthor

    Neither does the 1st of December Nightly work, so it's probably not something recent. A git bisect might help.

  5. justinclift commented on Dec 20, 2016

    @justinclift
    Member

    Ahhh, I thought you meant "No, it doesn't." in response to "Does it have the same problem?".

    But you're meaning it does have the same problem?

  6. revolter commented on Dec 20, 2016

    @revolter
    MemberAuthor

    I'm dumb. I wanted to say that it has the problem too. I thought that maybe c221536 is the problem, but the 16th of August Nightly is working ok.

  7. justinclift commented on Dec 20, 2016

    @justinclift
    Member

    Interesting. You should be able to find out the exact day it started using this manual er... bisect-via-download approach. 😄

  8. revolter commented on Dec 20, 2016

    @revolter
    MemberAuthor

    I'll see if I can continue this at home 😆

  9. MKleusberg commented on Dec 28, 2016

    @MKleusberg
    Member

    The tab stops and their order are stored in src/MainWindow.ui (somewhere at the bottom of the file). But I can't see any problem there and they haven't been touched lately.

    What I noticed though is this: when I open a database and switch to the Browse Table tab and I can press Tab as much as I want and nothing ever happens. However, as soon as I click on one of the buttons, the combo box or the table view the Tab key starts to work again. Looks like this is how Qt is handling the Tab key on dialogs with a tab widget (any puns on this coincidence are very welcome btw). Is this the same for OS X? I've also pushed a commit which add the Alt+T shortcut to focus the combo box which should help a bit :)

  10. revolter commented on Dec 28, 2016

    @revolter
    MemberAuthor

    But I can't see any problem there and they haven't been touched lately.

    That's what I knew about the tab stops and noticed too.

    However, as soon as I click on one of the buttons, the combo box or the table view the Tab key starts to work again

    I remember trying this but it still didn't start working.

    Will take a look on 4th of January so use the same pc + os version combination.

    (there would be awesome if GitHub had a reminder feature)

  11. justinclift commented on Dec 28, 2016

    @justinclift
    Member

    @revolter OSX → Applications → Reminders.app 😀

  12. chrisjlocke commented on Dec 28, 2016

    @chrisjlocke
    Member
  13. revolter commented on Jan 5, 2017

    @revolter
    MemberAuthor

    @MKleusberg I did the following:

    • downloaded 04.01.2017 nightly
    • opened database
    • clicked Browse Data
    • clicked refresh button
    • hit tab

    but nothing happened.

    I somehow got it working but it behaved very weird:

    I got the tab key to toggle the focus between controls, but when I kept it on the New Record and clicked the tables dropdown, the blue outline got removed, as it should, because the dropdown was focused. But when I closed the dropdown, the blue focus outline moved back to the New Record button instead of remaining on the dropdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions