[plasmashell] [Bug 462271] Sometimes the category being hovered is not selected after the cursor stops moving

2023-06-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462271

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|5.27|6.0

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

[plasmashell] [Bug 462271] Sometimes the category being hovered is not selected after the cursor stops moving

2023-06-14 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462271

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-desktop/-/commit/
   ||5368861d8752adffd69f30f3f58
   ||9f43654a73cf2
   Version Fixed In||5.27
 Status|CONFIRMED   |RESOLVED

--- Comment #3 from Nate Graham  ---
Git commit 5368861d8752adffd69f30f3f589f43654a73cf2 by Nate Graham, on behalf
of Derek Christ.
Committed on 15/06/2023 at 00:34.
Pushed by ngraham into branch 'master'.

Improve responsiveness of kickoff sidebar view and fix bug 462271

Description of the problem:
Sometimes a `HoverEnter` is sent without `HoverMove`, so the hovered element is
not selected in `onPositionChanged`. Instead, we should use `onEntered` again
and ignore `HoverEnter` events during the time when scrolling or navigating
with the keyboard. Previously, this approach did not work because the
`hoverEnabled` property caused `HoverEnter` to be resent after the timers
expired, which is wrong for the keyboard navigation.

When the cursor is currently contained in the kickoff menu and the user starts
typing, the cursor will select the search item it is currently hovering over.
This is a consequence of using `onEntered` instead of `onPositionChanged`. The
question is if this is undesired behavior and should be considered as a bug. If
this is the case, any typing action should prevent the `currentIndex` to
change.

This is a list of bugs I checked against to not introduce any regressions:
 - Triangle menu idle-hover reset doesn't work in kickoff (BUG 438950)
 - Mouse hover selection in search result persists across kickoff openings (BUG
454349)
 - Item not immediately select-able if cursor hovered over the item before
opening Kickoff (BUG 456993)
 - Unmoving cursor continually reselects the menu item it's hovering over (BUG
455674)

Additionally, I ensured that the following things do not happen:
 - When scrolling and the cursor is contained in the category list, the
selected categories should not be selected during scrolling.
 - When the menu is currently closed and opened with the meta key and the
cursor is now hovering a category, do not select it and also do not select it
when the cursor is moved in direction of the contentArea (so the user can
directly select the favorites).

I have no touchscreen, so it would be good if someone that has one could test
this patch.

This merge request depends on merge request
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2462 for
plasma-workspace and they should be merged together.
FIXED-IN: 5.27

M  +12   -7   
applets/kickoff/package/contents/ui/AbstractKickoffItemDelegate.qml
M  +13   -0applets/kickoff/package/contents/ui/KickoffGridView.qml
M  +16   -0applets/kickoff/package/contents/ui/KickoffListView.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/5368861d8752adffd69f30f3f589f43654a73cf2

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

[plasmashell] [Bug 462271] Sometimes the category being hovered is not selected after the cursor stops moving

2023-01-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=462271

--- Comment #2 from [email protected] ---
Have to share what I have noticed in another desktop environment, xfce.

I have noticed xFCE launcher uses nice tactics with hovering. It adds slight
fade-in before showing the results. It's very brief, but kind of enough for the
system to do its thing while animation lasts.

Now, I'm not certain if KDE launcher has problems with showing (animation) or
there's a bug related to registering the category itself. But maybe adding a
small delay in form of a fade-in (it's very brief and not annoying), could help
soothe this transition better.

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

[plasmashell] [Bug 462271] Sometimes the category being hovered is not selected after the cursor stops moving

2023-01-09 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462271

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Nate Graham  ---
*** Bug 463975 has been marked as a duplicate of this bug. ***

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

[plasmashell] [Bug 462271] Sometimes the category being hovered is not selected after the cursor stops moving

2022-11-26 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=462271

Patrick Silva  changed:

   What|Removed |Added

 CC||[email protected]

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

[plasmashell] [Bug 462271] Sometimes the category being hovered is not selected after the cursor stops moving

2022-11-26 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=462271

Nate Graham  changed:

   What|Removed |Added

Summary|Sometimes the category the  |Sometimes the category
   |mouse is hovering over is   |being hovered is not
   |not selected|selected after the cursor
   ||stops moving
 CC||[email protected]
   Severity|normal  |minor
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

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