https://bugs.kde.org/show_bug.cgi?id=396192

            Bug ID: 396192
           Summary: Activating dictionary plasmoid should focus on input
                    field and select text
           Product: kdeplasma-addons
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: dictionary
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When one opens the dictionary plasmoid, the input field should automatically
get focus and the text in the input field should be selected, so that it’s fast
and easy to enter a new word to look up, without having to use the mouse.
Currently, the focus from the last interaction is used, AFAICS.

Steps to reproduce:
  1. Add dictionary plasmoid (as an icon) to a panel.
  2. Click the dictionary icon.
  3. Write something in the input field and press ‘Enter’ to get search
results.
  4. Click somewhere in the search results (text or link), so that that the
input field loses focus.
  5. Click outside the dictionary plasmoid to close it.
  6. Click the dictionary icon again. Note that the input field is now *not*
selected*.
(  7. Right-click on icon, configure, enter a keyboard shortcut and close.)
(  8. Open the plasmoid using the keyboard shortcut and observere the same
behaviour as in 6.)

Expected behaviour:
  6. When clicking the dictionary icon, the input field should be selected. If
it has any text, the text should be selected (so that it’s automatically
deleted when one starts typing).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to