fix: fix launchpad fullsream, click dock ,it will not close.#1171
Merged
Conversation
Reviewer's GuideAdds a new D-Bus signal for dock clicks and hooks it in QML to ensure popups close correctly when clicking the dock under fullscreen launchpad. Sequence diagram for dock click D-Bus signal emissionsequenceDiagram
participant User as actor User
participant QML as QML Layer
participant DockPanel as DockPanel (C++)
participant D-Bus as D-Bus Session Bus
User->>QML: Clicks on empty dock area
QML->>DockPanel: emitDockClicked()
DockPanel->>D-Bus: Send dockClicked signal
Class diagram for DockPanel changesclassDiagram
class DockPanel {
+openDockSettings() const
+emitDockClicked()
launcherVisibleChanged(bool visible)
...
}
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @wjyrich - I've reviewed your changes - here's some feedback:
- Make sure to regenerate your DBus adaptor sources (via qdbusxml2cpp or your build step) so the new
dockClickedsignal is actually exported at runtime. - Consider adding error handling or checking that the session bus send succeeds in
emitDockClicked()to avoid silent failures if the message isn’t delivered.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Make sure to regenerate your DBus adaptor sources (via qdbusxml2cpp or your build step) so the new `dockClicked` signal is actually exported at runtime.
- Consider adding error handling or checking that the session bus send succeeds in `emitDockClicked()` to avoid silent failures if the message isn’t delivered.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
696d9e7 to
b5fa26e
Compare
18202781743
reviewed
Jun 24, 2025
| // TODO | ||
| signal dockCenterPartPosChanged() | ||
| signal pressedAndDragging(bool isDragging) | ||
| signal closeLaunchpadFullScreen() |
as title. Logs:
deepin pr auto review关键摘要:
是否建议立即修改:
|
18202781743
approved these changes
Jun 24, 2025
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, wjyrich The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Contributor
Author
|
/forcemerge |
|
This pr force merged! (status: unknown) |
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.
as title.
Logs:
Summary by Sourcery
Emit a
dockClickedD-Bus signal on dock clicks to allow full-screen launchpad popups to close.Bug Fixes:
Enhancements:
dockClickedsignal to the Dock D-Bus interface XML.emitDockClickedmethod in DockPanel and expose it as Q_INVOKABLE.emitDockClickedfrom QML on dock click events.