Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 如果窗口打开时即为最大化状态,则最大化图标显示错误 #600

Closed
wants to merge 406 commits into from

Conversation

Whale107
Copy link
Contributor

@Whale107 Whale107 commented Aug 28, 2024

窗口打开时没有windowstatechanged事件,不会去设置窗口状态,在showEvent中处理一下

Log:
Bug: https://pms.uniontech.com/bug-view-262201.html
Influence: mainwindow最大化

deepin-ci-robot added a commit to linuxdeepin/dtk6widget that referenced this pull request Aug 28, 2024
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#600
@deepin-bot
Copy link
Contributor

deepin-bot bot commented Aug 28, 2024

Doc Check bot
🟢 Document Coverage Check Passed!

@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: kegechen, Whale107

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

deepin-ci-robot added a commit to linuxdeepin/dtk6widget that referenced this pull request Aug 28, 2024
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#600
kegechen and others added 24 commits August 28, 2024 18:23
map position from Native will scale with deviceRatio

Bug: https://pms.uniontech.com/bug-view-70386.html
Log: none
Influence: drag tabbar with high dpi
更新示例文档dtitlebar.zh_CN.dox, 源码注释dtitlebar.cpp, 新增示例图像

Log:
修改文档中的链接错误

Log:
更新注释

Log:
添加主页

Log:
更新dslider的示例与文档标准化

Log:
更新 DBackgroundGroup 示例和示例图像

Log:
更新dsettingsdialog示例和文档、图像

Log:
更新dsettingsdialog文档示例

Log:
更新 dlistview 示例和文档,修改cpp注释

Log:
新建文档分组和新建初始文件

Log:
sync by github workflow

Log: none
Influence: none
Modify default value for m_style of DStyleHelper from nullptr to
QApplication::style in case we have a stack overflow.

Log: correct default constructor for DStyleHelper
Fix compile error for dtkuiplugin, add Dtk::Gui link.

Log: add Dtk::Gui link for dtkuiplugin
Add ToolTip support for DListView and DLabel

Task: https://pms.uniontech.com/task-view-227383.html
Log: add ToolTip support
  Send StyleChange event for all widget when
received sizemode changed.
  Add SizeModeHelper for common function.
  Modify radius, Shadow of MainWindow.

Log: 支持紧凑模式切换
Task: https://pms.uniontech.com/task-view-227385.html
Influence: none
Change-Id: I3cb83d22db1b3b058ed34443263d8321af09281d
  Modify dstyle's value when switch SizeMode;
  Add compact support for dialog, listview and other base widget.

Log: 支持基本控件的紧凑模式切换
Task: https://pms.uniontech.com/task-view-227385.html
Influence: none
Change-Id: I8f83d1fddd723a51bd01561c3723a9c352e9d852
更新ddialog的文档

Log: update docs

Task: deepin-community/coding-quarter#26
  Adjust ui style.
  Move implement from dtitlebar.cpp to splitscreen.cpp.

Log: 标题栏支持多分屏
Task: https://pms.uniontech.com/task-view-180357.html
Influence: 依赖平台插件升级,标题栏最大化按钮悬浮时分屏功能
Change-Id: I3911fd178f5ceae41a0e3f5227e4abae153583e7
ComboBox popup at the wrong position the first time after application
launched. Fix this behavior.

Log: fix wrong position of ComboBox popup
Bug: https://pms.uniontech.com/bug-view-177525.html
1. 增加特性对话框类接口;
2. dapplication增加特性对话框相关接口;
3. 重新布局关于对话框;

Log: 新增特性介绍功能
Task: https://pms.uniontech.com/task-view-227391.html
Influence: 特性介绍,关于介绍
Change-Id: Ie6244bd313bb385846f4c5c066108b65f5afcb4f
特性介绍框需求相关文案翻译

Log: 增加特性介绍需求相关文案翻译
Task: https://pms.uniontech.com/task-view-227391.html
Influence: 特性介绍文案
Change-Id: Icd3bfeeea5ce60034bc59cf947718b24099f870a
替换doxygen主题安装方式

Log:
update changelog

Log: update changelog
Influence: none
Change-Id: I5c21fd35617b305dcaf508895175e01ef5621f3c
mhduiy and others added 20 commits August 28, 2024 18:23
Move to inside the screen when exceeding the edge of the screen

Issue: linuxdeepin/developer-center#4840
revert new icon to old menu icon

Issue: linuxdeepin/developer-center#8297
修复大多数按钮不响应enter事件,仅支持DApplication应用

Log: 修复大多数按钮不响应enter事件
Bug: https://pms.uniontech.com/bug-view-253935.html
Influence: 按钮响应键盘回车事件
Do not reset custom page ranges when changing printers, page
size or anything else like this.

Issue: linuxdeepin/developer-center#7983
Log: revert f53dfff
log: QKeyMapper::possibleKeys return QList<KeyboardModifiers> in qt 6.7
wayland下,当进程设置DGuiApplicationHelper::ColorCompositing后,DDialog需要
主动设置模糊窗口效果

Log:
Bug: https://pms.uniontech.com/bug-view-249975.html
Influence: wayland下,DDialog窗口模糊
in sendMessage_helper, seems that content could be nullptr when QWebEngineView is DMainWindow's centralWidget

Log: add judgment whether content is nullptr in sendMessage_helper
when compiled with Qt6, product icon size is set to windowHandle().baseSize()
which is not the same as compiled with Qt5 (fixed size 128x128)

Log: use 128x128 pixmap in DAboutDialog::setProductIcon
spacerItem多次设置,改为设置前先移除之前的

Log:
DTK清除多余space使用的方法有问题,应使用itemAt而不是takeAt

Log: 控制中心标题栏返回按钮消失
Bug: https://pms.uniontech.com/bug-view-264379.html
Influence: 控制中心-标题栏
窗口打开时没有windowstatechanged事件,不会去设置窗口状态,在showEvent中处理一下

Log:
Bug: https://pms.uniontech.com/bug-view-262201.html
Influence: mainwindow最大化
deepin-ci-robot added a commit to linuxdeepin/dtk6widget that referenced this pull request Aug 28, 2024
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#600
Copy link

TAG Bot

TAG: 5.6.34
EXISTED: yes
DISTRIBUTION: unstable

deepin-ci-robot added a commit to linuxdeepin/dtk6widget that referenced this pull request Aug 28, 2024
Synchronize source files from linuxdeepin/dtkwidget.

Source-pull-request: linuxdeepin/dtkwidget#600
@deepin-ci-robot
Copy link
Contributor

deepin pr auto review

关键摘要:

  • 方法名 handleParentWindowIdChange 更改为 handleParentWindowStateChange 可能意味着方法的功能已经发生了变化,需要确认新方法是否正确实现了相同的功能。
  • 检查是否有对应的单元测试来验证此更改后功能的变化。

是否建议立即修改:

  • 是,需要确保方法名更改后功能正确,并且如果有相关的单元测试,应该确保它们也得到了更新。

@Whale107 Whale107 closed this Aug 28, 2024
@Whale107 Whale107 deleted the titlebar branch August 28, 2024 10:30
@Whale107
Copy link
Contributor Author

Whale107 commented Aug 29, 2024

fix: 如果窗口打开时即为最大化状态,则最大化图标显示错误 #601

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.