Opening a new unfocused tab in Chrome with webbrowser.open
還沒有人認領這個 Issue。
評估
研究方向
從 webbrowser.open 入口開始,使用列出的 new 和 autoraise 組合,在 Windows 11 和 Chrome 上重現所回報的行為。確定在此環境中,文件所述的選項是否應該控制分頁焦點;完成要求要麼是確認修正並提供回歸覆蓋,要麼是釐清 issue,記錄該平台限制。
由索引模型根據 Issue 內容生成。
描述
OS → Microsoft Windows 11
Chrome Version → 101.0.4951.54 (official version) 64 bits
I have Google website open and I want to open the Stackoverflow website in a new tab but the screen keeps showing the Google website.
All possible combinations I've tried to use but the page still opens and pulls the focus to it, my attempts were:
sof = 'https://stackoverflow.com'
webbrowser.open(sof, new=0, autoraise=False)
webbrowser.open(sof, new=2, autoraise=False)
webbrowser.open(sof, new=0, autoraise=True)
webbrowser.open(sof, new=2, autoraise=True)
All indications of use for such a function, lead me to the webbrowser + autoraise, I believe there is a problem.
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 36k
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 558
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
python/cpython 的其他 Issue
-
docs pending
難度 2/5 1-3 小時 新手友好度 78/100
-
stdlib type-feature
難度 2/5 1-3 小時 新手友好度 78/100
-
stdlib type-feature
難度 2/5 1-3 小時 新手友好度 72/100
-
build type-bug
難度 2/5 1-3 小時 新手友好度 76/100
-
stdlib topic-email type-feature
難度 2/5 1-3 小時 新手友好度 70/100
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
-
bug
難度 2/5 1-3 小時 新手友好度 86/100
zostera/django-bootstrap4#894 ·
-
難度 2/5 1-3 小時 新手友好度 78/100
use-agent-os/agent-os#3276 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
難度 2/5 1-3 小時 新手友好度 88/100
NousResearch/hermes-agent#117848 ·