F6 does not set the focus from floated dockwidget

Issue #89 closed
Former user created an issue

Originally reported on Google Code with ID 89

What steps will reproduce the problem?
1. Make the constant list visible
2. Make the constant list floating (not docked in the main window)
3. Click on one of the constant
4. Press F6

What is the expected output? 
The expression input line should get the keyboard focus.

What do you see instead?
Nothing happens. The input line gets the focus but because the main window
is not active, pressed keys are going there.

Reported by ariya.hidayat on 2007-07-24 11:58:13

Comments (7)

  1. Former user Account Deleted

    ``` Actually it happens with any undocked dock-window. Text cannot be inserted. ```

    Reported by `helder.pereira.correia` on 2007-07-24 21:16:43

  2. Former user Account Deleted

    ``` Fixed in branches/0.8, will be merged into trunk later. ```

    Reported by `helder.pereira.correia` on 2007-07-25 18:48:38 - Status changed: `Fixed`

  3. Former user Account Deleted

    ``` I don't think it's fixed since I can still reproduce it. Reopen again. ```

    Reported by `ariya.hidayat` on 2007-07-26 11:49:24 - Status changed: `Accepted`

  4. Former user Account Deleted

    ``` After several attempts, this change is the best I could get. It solves the problem, please verify. OK to commit (both branches/0.8 and trunk)?

    void Crunch::focusAndSelectInput() { activateWindow(); d->editor->selectAll(); d->editor->setFocus(); }

    ```

    Reported by `ariya.hidayat` on 2007-07-28 00:53:16

  5. Former user Account Deleted

    ``` I just realized my fix had just solved half the problem :)

    Fixed in /trunk and /branches/0.8. ```

    Reported by `helder.pereira.correia` on 2007-07-28 01:38:15 - Status changed: `Fixed` - Labels added: Milestone-0.9 - Labels removed: Milestone-0.8

  6. Log in to comment