-
-
Notifications
You must be signed in to change notification settings - Fork 794
Description
Description
划词翻译失效,选中的内容加载不到输入框里.我是在chrome上鼠标选中一段英文的
Reproduction
鼠标划词选中一段英文,然后按快捷键划词翻译,弹出来pot翻译框,里面没有内容
Platform
Linux
System Version
Linux Arch 6.17.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 02 Nov 2025 17:27:22 +0000 x86_64 GNU/Linux
Window System (Linux Only)
Wayland
Software Version
3.0.7-1
Log File
[2025-11-13][15:02:36][INFO][pot::server] Handle /selection_translate request
[2025-11-13][15:02:36][INFO][selection::linux] Primary Selection is not supported. Fallback to use X11 Clipboard
[2025-11-13][15:02:36][INFO][pot::window] Mouse position: 1861, 1108
[2025-11-13][15:02:36][INFO][pot::window] Current Monitor: Monitor { name: Some("U2790B"), size: PhysicalSize { width: 5120, height: 2880 }, position: PhysicalPosition { x: 0, y: 0 }, scale_factor: 2.0 }
[2025-11-13][15:02:36][INFO][pot::window] Window not existence, Creating new window: translate
** (pot:42704): WARNING **: 23:02:36.214: webkit_settings_set_enable_offline_web_application_cache is deprecated and does nothing.
GStreamer element autoaudiosink not found. Please install it
(WebKitWebProcess:42864): GLib-GObject-CRITICAL **: 23:02:36.464: invalid (NULL) pointer instance
(WebKitWebProcess:42864): GLib-GObject-CRITICAL **: 23:02:36.464: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[2025-11-13][15:02:36][TRACE][mio::poll] registering event source with poller: token=Token(0), interests=READABLE
[2025-11-13][15:02:36][TRACE][notify::inotify] adding inotify watch: /home/liu/.config/com.pot-app.desktop/config.json
[2025-11-13][15:02:36][TRACE][os_info::imp] linux::current_platform is called
[2025-11-13][15:02:36][DEBUG][os_info::imp::lsb_release] lsb_release command failed with Os { code: 2, kind: NotFound, message: "没有那个文件或目录" }
[2025-11-13][15:02:36][TRACE][os_info::imp] Returning Info { os_type: Arch, version: Unknown, edition: None, codename: None, bitness: X64, architecture: Some("x86_64") }
[2025-11-13][15:02:36][INFO][log$4@tauri://localhost/assets/index-DNqqRS59.js:60:6120] Move
[2025-11-13][15:02:36][INFO][log$4@tauri://localhost/assets/index-DNqqRS59.js:60:6120] Focus
[2025-11-13][15:02:36][INFO][log$4@tauri://localhost/assets/index-DNqqRS59.js:60:6120] Move
[2025-11-13][15:02:36][TRACE][hyper::client::pool] checkout waiting for idle connection: ("https", fanyi.baidu.com)
[2025-11-13][15:02:36][DEBUG][reqwest::connect] starting new connection: https://fanyi.baidu.com/
[2025-11-13][15:02:36][TRACE][hyper::client::connect::http] Http::connect; scheme=Some("https"), host=Some("fanyi.baidu.com"), port=None
[2025-11-13][15:02:36][DEBUG][hyper::client::connect::dns] resolving host="fanyi.baidu.com"
[2025-11-13][15:02:36][DEBUG][hyper::client::connect::http] connecting to 180.101.49.58:443
[2025-11-13][15:02:36][DEBUG][hyper::client::connect::http] connected to 180.101.49.58:443
[2025-11-13][15:02:36][TRACE][hyper::client::conn] client handshake Http1
[2025-11-13][15:02:36][TRACE][hyper::client::client] handshake complete, spawning background dispatcher task
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Busy }
[2025-11-13][15:02:36][TRACE][hyper::client::pool] checkout dropped for ("https", fanyi.baidu.com)
[2025-11-13][15:02:36][TRACE][tracing::span] encode_headers;
[2025-11-13][15:02:36][TRACE][tracing::span::active] -> encode_headers;
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::role] Client::encode method=POST, body=Some(Known(6))
[2025-11-13][15:02:36][TRACE][tracing::span::active] <- encode_headers;
[2025-11-13][15:02:36][TRACE][tracing::span] -- encode_headers;
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::encode] sized write, len = 6
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::io] buffer.flatten self.len=133 buf.len=6
[2025-11-13][15:02:36][DEBUG][hyper::proto::h1::io] flushed 139 bytes
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: KeepAlive, keep_alive: Busy }
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] Conn::read_head
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::io] received 481 bytes
[2025-11-13][15:02:36][TRACE][tracing::span] parse_headers;
[2025-11-13][15:02:36][TRACE][tracing::span::active] -> parse_headers;
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::role] Response.parse bytes=481
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::role] Response.parse Complete(413)
[2025-11-13][15:02:36][TRACE][tracing::span::active] <- parse_headers;
[2025-11-13][15:02:36][TRACE][tracing::span] -- parse_headers;
[2025-11-13][15:02:36][DEBUG][hyper::proto::h1::io] parsed 9 headers
[2025-11-13][15:02:36][DEBUG][hyper::proto::h1::conn] incoming body is content-length (68 bytes)
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::decode] decode; state=Length(68)
[2025-11-13][15:02:36][DEBUG][hyper::proto::h1::conn] incoming body completed
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] maybe_notify; read_from_io blocked
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2025-11-13][15:02:36][TRACE][hyper::client::pool] put; add idle connection for ("https", fanyi.baidu.com)
[2025-11-13][15:02:36][DEBUG][hyper::client::pool] pooling idle connection for ("https", fanyi.baidu.com)
[2025-11-13][15:02:36][TRACE][hyper::proto::h1::conn] flushed({role=client}): State { reading: Init, writing: Init, keep_alive: Idle }
[2025-11-13][15:02:36][TRACE][hyper::client::pool] idle interval checking for expired
[2025-11-13][15:02:43][INFO][log$4@tauri://localhost/assets/index-DNqqRS59.js:60:6120] Blur
[2025-11-13][15:02:43][INFO][log$4@tauri://localhost/assets/index-DNqqRS59.js:60:6120] Move
[2025-11-13][15:02:43][INFO][log$4@tauri://localhost/assets/index-DNqqRS59.js:60:6120] Cancel Close
Additional Information
No response