Skip to content

[Bug] Windows:不透明度设为 55%、背景模糊为“无”时,终端仍完全不透明 #419

Description

@maryjeck

Operating system / 操作系统

Windows

OS version and display / 系统版本与显示

Windows 11 26H2,OS build 26300.9550,x64。
系统 EditionID:ProfessionalEducation。单显示器,Pebrel 窗口 DPI 144(150% 缩放)。
Windows 的“透明效果”已开启(EnableTransparency=1)。

Pebrel version / 版本号

2.0.0 (2122c62),由运行中的 Runtime API 返回。
反馈时官方最新正式版为 v2.0.0。

How did you install Pebrel? / 安装方式

Other / 其他:Windows 本地安装版,原始安装包来源未另外核实。

Shell in the affected pane / 出问题的面板用的 Shell

PowerShell 7 (pwsh)

Program running in the pane / 面板里正在跑的程序

  • Nothing, plain shell prompt / 普通 PowerShell 提示符
  • Pi

两种场景都观察到,普通 Shell 对照用于排除“仅 Pi 的 TUI 背景覆盖透明区域”。

Connection type / 连接方式

Local terminal / 本地终端

Affected area / 影响范围

  • Settings / theme / layout / blur — 设置页、主题、布局、模糊背景
  • Terminal rendering / scrolling / selection / garbled text — 终端渲染

Did it work in a previous version? / 旧版本是否正常?

Not sure / 不确定,刚安装使用,未对照旧版本。

Can you reproduce it? / 复现概率

当前同一运行会话中,在原有 Pi 标签页和新建的普通 PowerShell 标签页均观察到;尚未统计跨重启或其他机器上的复现率。

Steps to reproduce / 复现步骤

  1. 启动 Pebrel,打开本地 PowerShell 7 终端,并将窗口放在一个有明显浅色背景/文字的窗口前。
  2. 打开“设置 → 外观”,将“终端正文不透明度”设为 55%。
  3. “背景模糊”保持为 无,不设置背景图片。
  4. 离开设置页面,切回终端标签页查看实际背景。这里不是要求设置页透明,设置页保持不透明是预期行为。
  5. 另外新建一个普通 PowerShell 标签页,不运行 Pi 或其他全屏 TUI,再观察大面积空白终端背景。

Expected behavior / 期望结果

当终端不透明度为 55%、背景模糊为“无”时,应能透出窗口后方的内容,呈现不带模糊的半透明背景,而非完全不透明的纯色背景。文字本身应保持可读。

Actual behavior / 实际结果

设置界面显示 55%,保存文件也确实是 opacity=0.55,但切回终端后背景仍呈完全不透明的深色,看不到后方窗口内容。

原有 Pi 标签页和新建的普通 PowerShell 标签页表现相同;普通 PowerShell 标签页的大片空白区域也没有可见的透视效果。

Logs / screenshots / 日志或截图

以下为本机只读核验得到的相关信息,不是应用错误日志:

Runtime API app_version: 2.0.0 (2122c62)
Windows DisplayVersion: 26H2
Windows build: 26300.9550
OS architecture: X64
Monitor count: 1
Pebrel window DPI: 144 (150%)
Windows EnableTransparency: 1

%APPDATA%\Pebrel\pebrel_settings.txt:
opacity=0.55
blur=none
background_image_cover_chrome=1

Background image configured: false

已在本机截图对照设置页(55%)与终端页,并通过临时普通 PowerShell 标签页对照确认现象;本次文本报告未附截图,以免公开原始截图中的私人路径与会话内容。临时测试标签页已关闭,原有会话保留。

Non-default settings / 改过的设置

  • 终端正文不透明度:55%。
  • 背景模糊:无。
  • 未配置背景图片。
  • “将背景图扩展到标题栏和侧边栏”开启,但没有实际背景图片。

Investigation boundaries / 排查范围与相关问题

Before submitting / 提交前确认

  • 已搜索现有 Issues,未找到现象完全相同且已确认的重复项。
  • 已在反馈时的最新正式版 v2.0.0 观察并核验。
  • 已删除个人路径、主机名、会话内容、密码、私钥及 token 等敏感信息。

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    os: windows仅 Windows 或与 ConPTY/Win32 相关

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions