fix: ListView's widget switching hide and show frequently#407
Merged
18202781743 merged 1 commit intoApr 11, 2023
Merged
Conversation
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
force-pushed
the
dstyledelegate-widget-switch-hide-show
branch
from
April 7, 2023 11:18
f84f5fd to
984aff5
Compare
Contributor
|
Doc Check bot |
FeiWang1119
approved these changes
Apr 10, 2023
kegechen
added a commit
to kegechen/Repository-Integration
that referenced
this pull request
Apr 11, 2023
申请集成 `dtk` 相关项目 相关 Tag 的原始 PR: - linuxdeepin/dtkcore#300 - linuxdeepin/dtkgui#144 - linuxdeepin/dtkwidget#407 - linuxdeepin/dtkdeclarative#120 - linuxdeepin/qt5integration#142 - linuxdeepin/qt5platform-plugins#171
kegechen
added a commit
to kegechen/Repository-Integration
that referenced
this pull request
Apr 11, 2023
申请集成 `dtk` 相关项目 相关 Tag 的原始 PR: - linuxdeepin/dtkcore#300 - linuxdeepin/dtkgui#144 - linuxdeepin/dtkwidget#407 - linuxdeepin/dtkdeclarative#120 - linuxdeepin/qt5integration#142 - linuxdeepin/qt5platform-plugins#171
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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