Skip to content

一些兼容性和性能问题, 尤其是一些插件 #303

@OranPhoenix

Description

@OranPhoenix

1. 图标和快捷键乱加 - 本体及Windows 11 Icon Pack

Image Image

上图一中fastcopy后面的快捷键提示和普通粘贴的重合, 本体中相关代码应该是用的关键词筛选?
上图二中, 经测试, 框中的选项为fastcopy的粘贴, 系统粘贴在上面小图标里呢, 但是插件把fastcopy的图标给覆盖了, 我还以为被删了或者隐藏了, 查了好半天才查出来💢.

2. "桌面右键配置Breeze" 插件存在严重bug

安装 "桌面右键配置Breeze" 后发生过:

  • 设置界面关不掉, 任何方式都没关掉, 最后重启解决, 但是不确定在日志中是哪一段.
  • 直接崩溃, 日志在下面.
    可能相关的日志:
Found: 0x30466 0x59cbc470
[perf] IShellBrowser - GetIShellBrowserRecursive: 0ms / js_menu_context::$from_window 0ms
shell browser: 0x59cbc470

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 0ms
[perf] Window: 0ms / js_menu_context::$from_window 1ms
[perf] JS plugins start
[perf] JS plugins costed 8ms
Current menu: true
[perf] menu_render::create: 31ms / mb_shell::track_popup_menu 31ms
Calibrated direction: bottom_right
Calibrated position: 1760 940 in screen 2560 1600
[perf] construct_with_hmenu: 1ms / TrackPopupMenuEx 1ms
Monitor: 0 0 2560 1600
Menu widget init from data: 16
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
Target window is a folder view (hwnd: 0x807ee)

[perf] IShellBrowser - GetIShellBrowserRecursive: 4ms / js_menu_context::$from_window 5ms
shell browser: 0x605c0e0

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 6ms
[perf] Window: 0ms / js_menu_context::$from_window 6ms
[perf] JS plugins start
[perf] JS plugins costed 7ms
Current menu: true
[perf] menu_render::create: 30ms / mb_shell::track_popup_menu 30ms
Calibrated direction: bottom_left
Calibrated position: 2004.5 479 in screen 2560 1600
Menu widget init from data: 9
[perf] construct_with_hmenu: 0ms / TrackPopupMenuEx 0ms
Monitor: 0 0 2560 1600
Menu widget init from data: 16
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
Target window is a folder view (hwnd: 0x807ee)

[perf] IShellBrowser - GetIShellBrowserRecursive: 3ms / js_menu_context::$from_window 4ms
shell browser: 0x605c0e0

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 4ms
[perf] Window: 0ms / js_menu_context::$from_window 4ms
[perf] JS plugins start
[perf] JS plugins costed 8ms
Current menu: true
[perf] menu_render::create: 28ms / mb_shell::track_popup_menu 28ms
Calibrated direction: bottom_left
Calibrated position: 2039.5 1041 in screen 2560 1600
config file: C:\Users\OranP\.breeze-shell\config.json
Reloading all scripts
Creating JS thread
[perf] init_known_strings took 122ms
[perf] construct_with_hmenu: 0ms / TrackPopupMenuEx 0ms
Monitor: 0 0 2560 1600
Menu widget init from data: 16
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
Target window is a folder view (hwnd: 0x404c0)

Found: 0x3037e 0x5af02ce0
[perf] IShellBrowser - GetIShellBrowserRecursive: 1ms / js_menu_context::$from_window 1ms
shell browser: 0x5af02ce0

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 1ms
[perf] Window: 0ms / js_menu_context::$from_window 1ms
[perf] JS plugins start
[perf] JS plugins costed 8ms
Current menu: true
[perf] menu_render::create: 270ms / mb_shell::track_popup_menu 270ms
Calibrated direction: bottom_right
Calibrated position: 1145 830 in screen 2560 1600
[perf] construct_with_hmenu: 0ms / TrackPopupMenuEx 0ms
Monitor: 0 0 2560 1600
Menu widget init from data: 16
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
Target window is a folder view (hwnd: 0x70a46)

[perf] IShellBrowser - GetIShellBrowserRecursive: 4ms / js_menu_context::$from_window 4ms
shell browser: 0x44bfc70

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 4ms
[perf] Window: 0ms / js_menu_context::$from_window 5ms
[perf] JS plugins start
[perf] JS plugins costed 7ms
Current menu: true
[perf] menu_render::create: 28ms / mb_shell::track_popup_menu 28ms
Calibrated direction: bottom_right
Calibrated position: 256 821 in screen 2560 1600
config file: C:\Users\OranP\.breeze-shell\config.json
Reloading all scripts
Creating JS thread
[perf] init_known_strings took 147ms
[perf] construct_with_hmenu: 0ms / TrackPopupMenuEx 0ms
Monitor: 0 0 2560 1600
Menu widget init from data: 16
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
Target window is a folder view (hwnd: 0x404c0)

[perf] IShellBrowser - GetIShellBrowserRecursive: 2ms / js_menu_context::$from_window 3ms
shell browser: 0xb342768

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 3ms
[perf] Window: 0ms / js_menu_context::$from_window 3ms
[perf] JS plugins start
[perf] JS plugins costed 7ms
Current menu: true
[perf] menu_render::create: 29ms / mb_shell::track_popup_menu 29ms
Calibrated direction: bottom_right
Calibrated position: 1138 950 in screen 2560 1600
[perf] construct_with_hmenu: 0ms / TrackPopupMenuEx 0ms
Monitor: 0 0 2560 1600
Menu widget init from data: 16
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
Target window is a folder view (hwnd: 0x404c0)

Found: 0x3037e 0x5af02ce0
[perf] IShellBrowser - GetIShellBrowserRecursive: 0ms / js_menu_context::$from_window 0ms
shell browser: 0x5af02ce0

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 1ms
[perf] Window: 0ms / js_menu_context::$from_window 1ms
[perf] JS plugins start
[perf] JS plugins costed 7ms
Current menu: true
[perf] menu_render::create: 30ms / mb_shell::track_popup_menu 30ms
Calibrated direction: bottom_right
Calibrated position: 1076 791 in screen 2560 1600

3. 关闭插件导致崩溃和资源管理器重启

可能相关的日志:

[perf] IShellBrowser: 0ms / js_menu_context::$from_window 0ms
[perf] Window: 0ms / js_menu_context::$from_window 1ms
[perf] JS plugins start
[perf] JS plugins costed 8ms
Current menu: true
[perf] menu_render::create: 35ms / mb_shell::track_popup_menu 35ms
Calibrated direction: top_right
Calibrated position: 1857 411 in screen 2560 1600
Monitor: 0 0 2560 1600
Menu widget init from data: 0
[perf] Edit: 0ms / js_menu_context::$from_window 0ms
[perf] IShellBrowser: 0ms / js_menu_context::$from_window 0ms
[perf] Window: 0ms / js_menu_context::$from_window 0ms
Skipped running JS
Current menu: true
[perf] menu_render::create: 10ms / mb_shell::track_popup_menu 10ms
Calibrated direction: bottom_right
Calibrated position: 1380 668 in screen 2560 1600
File change detected: 插件图标主题色.js
File change detected: 插件图标主题色.js
File change detected: 插件图标主题色.js
File change detected: 插件图标主题色.js
Reloading all scripts
Creating JS thread
Reloading all scripts
Creating JS thread
Reloading all scripts
Reloading all scripts
Creating JS thread
Creating JS thread
config file: C:\Users\OranP\.breeze-shell\config.json
Reloading all scripts
Creating JS thread
[perf] init_known_strings took 132ms
[perf] construct_with_hmenu: 2ms / TrackPopupMenuEx 2ms
Monitor: 0 0 2560 1600
Menu widget init from data: 19
[perf] Edit: 1ms / js_menu_context::$from_window 1ms
Target window is a folder view (hwnd: 0x15087e)

Found: 0x30466 0x59cbc470
[perf] IShellBrowser - GetIShellBrowserRecursive: 2ms / js_menu_context::$from_window 3ms
shell browser: 0x59cbc470

最后附上完整的日志文件, 也希望开发者生活顺顺利利, 祝愿软件越来越好:

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions