You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: implement window split mode with dynamic title display
1. Add window split mode to display individual windows separately in
taskbar
2. Implement dynamic title calculation with adaptive character limits
based on available space
3. Add new AppItemWithTitle component that displays window titles
alongside icons
4. Enhance drag and drop functionality to support individual window
dragging
5. Update context menu to show "Close" instead of "Close All" in split
mode
6. Add WinTitleRole support in model for window title data
7. Implement intelligent window grouping logic to keep windows of same
app together
Log: Added window split mode showing individual window titles in taskbar
Influence:
1. Test window split mode activation and deactivation
2. Verify window titles display correctly with dynamic character limits
3. Test drag and drop of individual windows in split mode
4. Check context menu shows appropriate close options
5. Verify window grouping maintains proper order
6. Test window activation and new instance creation
7. Validate title truncation and ellipsis behavior
8. Test with multiple windows of same application
feat: 实现窗口分离模式并支持动态标题显示
1. 添加窗口分离模式,在任务栏中分别显示各个窗口
2. 实现基于可用空间的动态字符限制计算
3. 新增 AppItemWithTitle 组件,在图标旁显示窗口标题
4. 增强拖放功能以支持单独窗口拖动
5. 更新上下文菜单,在分离模式下显示"关闭"而非"全部关闭"
6. 在模型中添加 WinTitleRole 支持窗口标题数据
7. 实现智能窗口分组逻辑,保持同一应用的窗口在一起
Log: 新增窗口分离模式,在任务栏显示单独窗口标题
整体计算方式为: 获取任务栏的剩余范围remainingSpacesForSplitWindow,默认给所有应用窗口标题为最大宽度--7个汉字的宽度,
然后判断所有应用窗口的图标+标题总和宽度是否大于remainingSpacesForSplitWindow,
如果大于就开始缩减此时窗口的标签中最长标题的长度,(charLimits具体就是存着相对应的index存着字符的数量。)
0 commit comments