Skip to content

Win顺 0.21.0

Choose a tag to compare

@LingCore LingCore released this 06 Nov 09:23

Win顺 0.21.0 新增三种界面风格和“运行状况”页,托盘会说 Win顺 正在做什么、还要多久;后台进程更少,也更省内存。插件的结果也能在内容详情和预览里看,截图多了“识别屏幕文字”的专用快捷键,贴图和标注的滚轮缩放、调粗细更细更顺,在文件夹里打字可以只搜这一层,并新增“打开时切换为英文输入”开关。WinShun 0.21.0 adds three interface styles and a Health page, and the tray says what WinShun is doing and for how long; it runs fewer background processes and uses less memory. Plugin results show in the content details and the preview, reading text on screen gets a hotkey of its own, wheel zooming of pins and sizing of annotations are finer, typing in a folder can search that level only, and a switch types in English each time the search box opens.

下载 · Download

  • WinShun-0.21.0-x64-setup.exe 为标准安装版,覆盖升级保留设置、索引和剪贴板,增强 OCR 按需下载。
  • WinShun-0.21.0-x64-portable.zip 为便携版。解压运行 WinShun.exe,升级时保留原来的 data 文件夹。也可以用 Scoop 安装:scoop bucket add winshun https://github.com/LingCore/WinShun,再 scoop install winshun。
  • WinShun-0.21.0-x64-offline-setup.exe 包含增强 OCR,官方可选插件仍从插件库下载。
  • WinShun-ocr-ppocr-v6-ort1.30.0-x64.zip 为增强 OCR 独立组件,可在识别设置中从本地安装。
  • SHA256SUMS.txt 提供以上四个文件的 SHA256。

Requires 64-bit Windows 10 1809 or later, or Windows 11. Setup upgrades retain existing data. Preserve the portable copy's existing data folder. With Scoop, run scoop bucket add winshun https://github.com/LingCore/WinShun and then scoop install winshun. The offline setup includes enhanced OCR, while optional plugins remain separate downloads. Verify the downloads with SHA256SUMS.txt.

新功能 · What's new

  • 🎨 三种界面风格 在设置 › 外观 › 界面风格里三选一:精修原生(默认,和 Windows 11 自己的样子一样,跟着系统的强调色)、品牌色彩、轻拟物质感。所有窗口一起换,每种都有浅色和深色;截图插件和图片文字搜索插件的窗口也跟着变(截图插件 1.1.3、图片文字搜索 1.0.6)。
    Three interface styles: pick one under Settings › Appearance › Interface style: Refined native (the default, Windows 11's own look following the accent colour), Brand colours or Soft tactile. Every window changes together, each in light and dark; the capture and image text search plugins' windows follow too (capture 1.1.3, image text search 1.0.6).
  • 🩺 运行状况 设置里新的一页:Win顺 现在用了多少内存(和任务管理器里 Win顺 那一行是同一个数),分成文件索引、窗口和数据、缩略图、程序本身、插件和读文档;此刻的 CPU 和读取速度;正在做什么、大概还要多久;各个进程各用多少;最近发生的事。点“现在就归还”马上把闲置的内存还给系统。这一页开着时每秒更新,离开就停。
    Health: a new settings page shows how much memory WinShun uses (the same number as its row in Task Manager), split into file index, windows and data, thumbnails, the program itself, plugins and document reading; the CPU and read rate right now; what it is doing and roughly how long it will take; each process; and recent events. “Give back now” returns idle memory to Windows at once. It updates every second while open and stops when you leave it.
  • 🔔 托盘说清在做什么 托盘菜单最上面一行说 Win顺 正在做什么:加载索引、建文件索引或内容索引到哪了、大概还要多久;第一次建索引、重建索引这类超过 2 分钟的大活做完时,弹一条通知。
    The tray says what is going on: the top line of the tray menu says what WinShun is doing (loading the index, how far the file or content index has got, roughly how long is left); a notification says when a job longer than 2 minutes, such as the first index or a rebuild, is done.
  • 🔎 插件的结果也能看内容和预览 会打开普通文件的插件结果(比如图片文字搜索),在内容详情和预览(Alt+P、空格)里按那个文件显示;不是文件的结果(比如邮件),插件可以声明 details,由 Win顺 向它要一段文字或它数据文件夹里的文件来显示,取不到时写“无法获取详情”。插件协议新增,Python、PowerShell 和 C++ SDK 都已支持(C++ 用 Item::withDetails() 并重写 details()),不需要新权限,说明见插件文档(#202)。
    Plugin results in details and preview: a plugin result that opens a plain file (such as image text search) is shown as that file in the content details and the preview (Alt+P, Space). For results that are not files, such as emails, a plugin can declare details and WinShun asks it for a piece of text or a file in its data folder to show; if nothing comes back it says so. This is a new plugin protocol item, supported by the Python, PowerShell and C++ SDKs (in C++, Item::withDetails() and a details() override), and it needs no new permission. See the plugin docs (#202).
  • 📝 识别屏幕文字,有自己的快捷键 在截图设置 › 快捷键里另录一个“识别屏幕文字”(默认不设):按下后拖选一块或单击窗口,松开就识别并复制,不出工具条,也不进截图历史;旁边的小卡片显示“已复制”和前几行字。托盘菜单和搜索 cap 里也能选“识别屏幕文字”。需要截图插件 1.1.3(#198)。
    Read text on screen, with its own hotkey: record a separate "Read text on screen" shortcut under Shortcuts in the capture settings (none by default). Press it, drag an area or click a window, and on release the text is read and copied, with no toolbar and nothing added to the screenshot history; a small card beside it shows "Copied" and the first lines. It is also in the tray menu and under cap in the search box. Requires capture plugin 1.1.3 (#198).
  • 🔍 贴图和标注的滚轮更细更顺 贴图缩放每格幅度更小(60% 以下 5%,到 300% 为 10%),缩放时在左上角短暂显示百分比,Ctrl+滚轮调透明度也会显示百分比。标注工具用滚轮或 [ ] 调粗细、字号、马赛克格子,逐像素细调,范围更大(粗细 1–64、字号 10–120、格子 3–64),鼠标滚轮一格一档,不用等。需要截图插件 1.1.3(#164)。
    Smoother wheel on pins and annotations: pin zoom steps are smaller (5% below 60%, 10% up to 300%), the percentage shows briefly in the corner while zooming, and Ctrl+wheel shows the opacity. In the annotation tools the wheel or [ ] sets line width, text size and mosaic cell in fine steps over a wider range (width 1–64, text 10–120, cell 3–64), one step per mouse notch with no waiting. Requires capture plugin 1.1.3 (#164).
  • ⌨️ 打开时切换为英文输入 在设置 › 结果列表 › 操作习惯打开后(默认关),每次打开搜索框,中文输入法先切到英文,直接打字母或拼音首字母;想打中文就在框里切回,这次打开期间不再切换。关掉搜索框后恢复原来的输入状态(#201)。
    Switch to English input on opening (off by default): under Settings › Results › Habits, each time the search box opens the Chinese input method switches to English so letters go straight in. Switch back in the box to type Chinese; it stays that way for that opening. When the box closes, the input state is put back (#201).
  • 📂 在文件夹里打字,可以只搜这一层 在文件夹窗口里打字打开 Win顺 后,Ctrl+Shift+D 在“当前文件夹优先”“只搜当前文件夹”“只搜这一层(不含子文件夹)”之间轮流换,也可以点列表最后一行的提示换;设置 › 打开 Win顺 › 对话框里可以把“只搜这一层”设成默认(#182)。
    Search only this level when typing in a folder: after opening WinShun by typing in a folder window, Ctrl+Shift+D cycles through current folder first, only the current folder, and only this level (no subfolders); the hint row at the end of the list works too. The default can be set under Settings › Open WinShun › Dialogs (#182).

修复与改进 · Fixes and improvements

  • 🪶 进程更少 随 Win顺 装好的小工具和系统开关不再各开一个进程,在插件进程里运行;任务管理器里 Win顺 的每个进程都有看得懂的名字,比如“Win顺 后台服务”。
    Fewer processes: the bundled tools and system switches no longer run a process each but inside the plugin process, and every WinShun process has a plain name in Task Manager, such as “WinShun background service”.
  • 🪶 更省内存 设置窗口只做你看过的页(以前一打开就把十一页全做好;实测打开设置多占的内存从两百多 MB 降到二十几 MB);最小化的窗口不再算“正在用”,约 20 秒后就把内存还给系统;运行状况页自己不再把还掉的内存读回来。
    Less memory: the settings window makes only the pages you look at (it used to make all eleven at once; opening it now adds about 23 MB instead of over 200 MB in our measurement); a minimized window no longer counts as in use, so memory goes back to Windows about 20 seconds later; the Health page no longer reads given-back memory in again.
  • 🪶 内容索引更轻 第一次以后只看改过的文件(以前每 15 分钟把整个文件索引过一遍,临时多占约 90 MB);16 MB 以上的大文档一次只读一个,读完那个进程就退出;第一次建内容索引时,实测内存峰值从约 1 GB 降到约 700 MB,用时不变。图片文字搜索(1.0.6)和按意思找(1.0.3)两个插件闲下来也会把内存还给系统。
    A lighter content index: after the first pass only changed files are looked at (every 15 minutes the whole file index used to be walked, about 90 MB for a while); documents of 16 MB and up are read one at a time by a process that ends afterwards; building the first content index peaked at about 700 MB instead of about 1 GB in our measurement, in the same time. The image text search (1.0.6) and Search by meaning (1.0.3) plugins give idle memory back too.
  • 权限受限(strict)的插件有了自己能写的临时文件夹;以前图片文字搜索可能因此报“unable to open database file”。
    Strict plugins get a temporary folder they can write; image text search could report “unable to open database file” without it.
  • 在资源管理器里直接打字,资源管理器窗口很大或在屏幕中间、旁边放不下搜索框时,框放在文件列表右下角,不再跑到屏幕左上角(#203)。
    When you type in File Explorer and the window is too large or too central for the search box to sit beside it, the box goes in the file list's bottom-right corner instead of the top-left corner of the screen (#203).
  • 有些电脑上 Windows 不让 Win顺 到最前面(比如装了某些安全软件),以前在资源管理器里打字会没反应、字丢掉,双击 Ctrl 后打字还会冒出第二个框。现在这种情况下字也会进搜索框,接着打、上下选、回车都正常;这时暂时打不了中文,点一下搜索框就恢复(#203)。
    On some PCs Windows refuses to bring WinShun to the front (some security software does this). Typing in File Explorer used to do nothing and lose the keys, and typing after a double Ctrl opened a second box. Now the keys still go into the search box, and arrows and Enter work; Chinese input waits until you click the box (#203).
  • 诊断包多带插件日志和已装插件列表(名称、版本、是否启用),日志会记下 Windows 不让 Win顺 到最前面的原因;不记录你打的字和文件名(#203)。
    The diagnostics package now includes the plugin log and the list of installed plugins (name, version, enabled), and the log records why Windows refused to bring WinShun to the front, without what you typed or file names (#203).
  • 资源管理器标签页插件需要 Windows 11 22H2 或更新:在 Win10 上不再拦着新开的文件夹窗口(以前会晚几秒才出来),输入“标签页”会说明原因(#203)。
    The Explorer tabs plugin needs Windows 11 22H2 or later. On Windows 10 it no longer holds back new folder windows (they used to appear seconds late), and typing "tabs" explains why (#203).
  • 双击空白处的文件夹菜单多了“复制路径”,在“在此搜索”后面,一键复制当前文件夹的完整路径;不想要可以在设置里关掉(#137)。
    The folder menu (double-click empty space) gains "Copy path" after "Search here", copying the current folder's full path in one click; it can be switched off in settings (#137).
  • Directory Opus 里直接打字弹出的搜索框,放在正在打字的那一栏文件列表里,宽度和高度随这一栏收窄;以前在双栏窄栏里会伸进查看栏(#82)。
    In Directory Opus, the search box that appears when you type now sits inside the file list you are typing in and narrows to fit it. Before, in a narrow pane it reached into the viewer pane (#82).
  • 程序被删掉、开始菜单里只剩快捷方式的应用,不再出现在搜索、启动列表和常用里;以前点开会提示“找不到指定路径”。为了不老是唤醒休眠的机械硬盘,最多每 5 分钟核对一次,打不开时马上再核对(#207)。
    Apps whose program was deleted, leaving only a Start menu shortcut, no longer appear in search, the start list or the frequent row; opening one used to say the path does not exist. To avoid waking a sleeping hard disk, the programs are checked at most every 5 minutes, and again at once when one fails to open (#207).
  • 显卡驱动没有 D3D11 视频功能时(报 0x887a0004),录屏改用 CPU 转换画面,照样能录。需要截图插件 1.1.3(#214)。
    When the graphics driver has no D3D11 video support (error 0x887a0004), screen recording converts the frames on the CPU and still records. Requires capture plugin 1.1.3 (#214).
  • 截图里识别出二维码后,点“打开链接”会直接用浏览器打开(只认 http、https 和 mailto 链接)。需要截图插件 1.1.3 和 Win顺 0.21.0(#225)。
    After a QR code is found in a screenshot, "Open link" opens it in the browser (http, https and mailto links only). Requires capture plugin 1.1.3 and WinShun 0.21.0 (#225).
  • 以管理员身份运行的程序的“打开 / 另存为”对话框,便携版没装索引服务时转不过去。现在第一次遇到会弹一次通知说明原因;便携版点通知直接到安装索引服务的设置项,也可以以管理员身份运行 Win顺(#216)。
    The Open / Save As dialogs of programs run as administrator cannot be redirected by a portable copy without the index service. The first time one comes up, a notification now explains why; on a portable copy, clicking it opens the setting that installs the index service, or you can run WinShun as administrator (#216).
  • 收藏圆盘:Win顺 以管理员身份运行时,圆盘后台程序的日志也写进诊断包,方便查圆盘为什么没出来;Esc 下面那个键被别的程序设成快捷键时,会弹一次通知说明(#150)。
    Favorites pie: when WinShun runs as administrator, the pie helper's log now goes into the diagnostics package, to help find out why the pie did not appear; and when another program uses the key below Esc as a shortcut, a notification says so once (#150).
  • 截图插件 1.1.2 已单独发布:设置页第一次打开不再卡住。1.1.3 包含它。
    Capture plugin 1.1.2, released on its own, fixed the capture settings freezing on first open; 1.1.3 includes it.

升级与验证范围 · Upgrade and validation scope

插件库里同时更新:截图与录屏 1.1.3、图片文字搜索 1.0.6、按意思找 1.0.3、休息提醒 1.0.2、资源管理器标签页 1.0.1、浏览器书签 2.0.2、翻译 2.1.1、局域网传输 1.0.4。图片文字搜索和资源管理器标签页的新版要 Win顺 0.21.0,其余在旧版 Win顺 上也能装;休息提醒、书签、翻译、局域网传输只是用新的插件开发包重新构建,用起来没有变化。权限都没有变。

Updated in the plugin library at the same time: Screenshot and recording 1.1.3, Image text search 1.0.6, Search by meaning 1.0.3, Break reminder 1.0.2, Explorer tabs 1.0.1, Browser bookmarks 2.0.2, Translate 2.1.1 and LAN transfer 1.0.4. The new Image text search and Explorer tabs need WinShun 0.21.0; the others install on older WinShun too. Break reminder, bookmarks, Translate and LAN transfer are only rebuilt with the new plugin SDK and work as before. No permissions changed.

“识别屏幕文字”快捷键、贴图百分比提示和标注滚轮细调在截图插件 1.1.3 里,从插件库更新,开着自动更新时会在后台更新。插件的 details 请求需要 Win顺 0.21.0;旧版 Win顺 上,带 details 的插件结果照常显示,只是内容详情和预览里不会去问。

The "Read text on screen" hotkey, the pin percentage hint and the finer annotation wheel are in capture plugin 1.1.3, updated from the plugin library, in the background when automatic updates are on. The plugin details request needs WinShun 0.21.0; on older WinShun, results with details still show as before, but the content details and preview do not ask for them.

本次完整验证结果见发布验证记录。

See the linked release-validation record for the measured scope.