Skip to content

fix: ListView's widget switching hide and show frequently#407

Merged
18202781743 merged 1 commit into
linuxdeepin:masterfrom
18202781743:dstyledelegate-widget-switch-hide-show
Apr 11, 2023
Merged

fix: ListView's widget switching hide and show frequently#407
18202781743 merged 1 commit into
linuxdeepin:masterfrom
18202781743:dstyledelegate-widget-switch-hide-show

Conversation

@18202781743

Copy link
Copy Markdown
Contributor

It's apperent when we set a widget for DStandardItem, and
hovering it, it look obvious when changing Widget's cursor.
We hide widget depending on the different of last and current
frame, When we hover one item, Viewport also to be repaint, and it's area is an item hovered, this caused we made a calculation error.

Issue: linuxdeepin/dtk#32

  It's apparent when we set a widget for DStandardItem, and
hovering it, it look obvious when changing Widget's cursor.
  We hide widget depending on the different of last and current
frame, When we hover one item, Viewport also to be repaint,
and it's area is an item hovered, this caused we made a
calculation error.

Issue: https://github.com/linuxdeepin/dtkwidget/issues/364
@18202781743
18202781743 force-pushed the dstyledelegate-widget-switch-hide-show branch from f84f5fd to 984aff5 Compare April 7, 2023 11:18
@deepin-bot

deepin-bot Bot commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

Doc Check bot
🟢 Document Coverage Check Passed!

@18202781743
18202781743 merged commit dbf50f0 into linuxdeepin:master Apr 11, 2023
kegechen added a commit to kegechen/Repository-Integration that referenced this pull request Apr 11, 2023
kegechen added a commit to kegechen/Repository-Integration that referenced this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants