[kmymoney] [Bug 446990] New: Tooltip on date input fields steals focus, prevents entering data

Marco Rebhan bugzilla_noreply at kde.org
Tue Dec 14 19:51:47 GMT 2021


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

            Bug ID: 446990
           Summary: Tooltip on date input fields steals focus, prevents
                    entering data
           Product: kmymoney
           Version: 5.1.2
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: ux-ui
          Assignee: kmymoney-devel at kde.org
          Reporter: me at dblsaiko.net
  Target Milestone: ---

SUMMARY
Every time a date input field is selected, a tooltip with the date in it is
opened and very quickly closed in succession, which makes it impossible to
enter data because the focus switches constantly. The only way to reliably
enter dates is through the calendar date picker.

There's a workaround (kind of): setting the window activation policy in System
Settings to "Focus under mouse". This causes the tooltip to not steal the focus
on the window so dates can be entered normally. However, this obviously affects
how the focus works for the entire desktop so not really a good option.

This is probably related to how tooltips work in Wayland (needing a parent to
be treated as a proper tooltip instead of a standalone window), e.g. see bug
442779.

STEPS TO REPRODUCE
1. Focus a date field (e.g. in Ledgers)

OBSERVED RESULT
While the date field is focused, a tooltip is opened which takes away focus
from the main window, due to the main window losing focus the tooltip
disappears, then the date field is focused again, showing the tooltip again,
etc. in an infinite loop.

EXPECTED RESULT
The tooltip shouldn't show in the first place, or it shouldn't be opened in
such a way that it has its own focus separate from the main window.

SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.8
KDE Plasma Version: 5.23.80
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Kernel Version: 5.14.21-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: AMD Radeon RX Vega

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list