- Skyline环境下image渲染svg时渲染模糊
代码:https://github.com/sierraqin/hyacinth 页面:pages/proj853/index 位置:/pages/proj853/index.wxml ,第8行 此问题仅Skyline下存在 image组件显示svg图片时渲染模糊。最开始svg图片是以矢量形式渲染的,无论放大多少倍都极其清晰,但出现问题后,svg疑似是被转换为位图缩略图后被渲染,放大时,不会渲染放大的svg,而是渲染放大后的缩略图。 2024年1月时,svg图片正常显示。2月时,开始陆续有部分安卓用户反馈图片模糊,安卓微信客户端登录微信账号A真机调试时,模糊问题稳定复现,相同手机相同环境,登录微信账号B后问题消失无法复现,切换回之前的微信账号A登录后问题又可以稳定复现,切换到微信账号B后问题又无法复现(可能是在灰度???),此时开发者工具、iOS端均无法复现问题。至9月时,iOS、安卓、开发者工具均出现模糊问题。
11-12 - 开启skyline后开发工具报错?
问题: 开启skyline渲染后,调试器崩溃,devtools报 "Devtools was disconnected from the page. "。 这一问题在同一项目中仅在调试启用了skyline的页面出现,其他页面完全正常没有问题。 这一问题在我的设备上,无论使用从webview移植的项目页面,还是使用由开发者工具生成的空白页面,均可以100%稳定复现。 ----- 调试器 ----- [图片] [图片] Uncaught (in promise) undefined (env: Windows,mp,1.06.2209222; lib: 2.26.1) (anonymous) @ WAServiceMainContext…37812421&v=2.26.1:1 _privEmit @ WAServiceMainContext…37812421&v=2.26.1:1 emit @ WAServiceMainContext…37812421&v=2.26.1:1 Be @ WAServiceMainContext…37812421&v=2.26.1:1 Qe @ WAServiceMainContext…37812421&v=2.26.1:1 (anonymous) @ WAServiceMainContext…37812421&v=2.26.1:1 emit @ WAServiceMainContext…37812421&v=2.26.1:1 (anonymous) @ instanceframe?s=1664…8255739&autoload:19 Promise.then (async) (anonymous) @ instanceframe?s=1664…8255739&autoload:15 ----- 调试器 ----- ----- 开发者工具 ----- [图片] E:\Apps\微信web开发者工具\c…ist\instrument.js:1 [2022-09-27 08:39:44.184] [WARN] [C:\Users\SierraQin\AppData\Local\微信开发者工具\User Data\38ea236e6136d1093717eafa733b272e\WeappCode\package.nw\core.wxvpkg\f67cdfd87843382519d9c48d8a0bd4dc.js] [webview] this webview died unhappily with procid 44, target debuggee 3CEF46615958C4C87024E7329AAFB6B5 (anonymous) @ E:\Apps\微信web开发者工具\c…ist\instrument.js:1 write @ C:\Users\SierraQin\A…f6febb45c187c3.js:8 (anonymous) @ C:\Users\SierraQin\A…db2900a9d684.js:148 Log.write @ C:\Users\SierraQin\A…db2900a9d684.js:147 Log.formattedWarn @ C:\Users\SierraQin\A…fdb2900a9d684.js:47 Log.warn @ C:\Users\SierraQin\A…fdb2900a9d684.js:44 warn @ C:\Users\SierraQin\A…3352c5e8a76dc8.js:2 onWebviewExit @ C:\Users\SierraQin\A…d9c48d8a0bd4dc.js:2 n @ E:\Apps\微信web开发者工具\c…r\dist\helpers.js:1 (anonymous) @ extensions::safeMethods:20 GuestViewContainer.dispatchEvent @ extensions::guestViewContainer:150 (anonymous) @ extensions::guestViewEvents:117 (anonymous) @ extensions::guestViewEvents:179 E:\Apps\微信web开发者工具\c…ist\instrument.js:1 [2022-09-27 08:39:44.185] [WARN] [C:\Users\SierraQin\AppData\Local\微信开发者工具\User Data\38ea236e6136d1093717eafa733b272e\WeappCode\package.nw\core.wxvpkg\f67cdfd87843382519d9c48d8a0bd4dc.js] [webview] webview exit reason crashed (anonymous) @ E:\Apps\微信web开发者工具\c…ist\instrument.js:1 write @ C:\Users\SierraQin\A…f6febb45c187c3.js:8 (anonymous) @ C:\Users\SierraQin\A…db2900a9d684.js:148 Log.write @ C:\Users\SierraQin\A…db2900a9d684.js:147 Log.formattedWarn @ C:\Users\SierraQin\A…fdb2900a9d684.js:47 Log.warn @ C:\Users\SierraQin\A…fdb2900a9d684.js:44 warn @ C:\Users\SierraQin\A…3352c5e8a76dc8.js:2 onWebviewExit @ C:\Users\SierraQin\A…d9c48d8a0bd4dc.js:2 n @ E:\Apps\微信web开发者工具\c…r\dist\helpers.js:1 (anonymous) @ extensions::safeMethods:20 GuestViewContainer.dispatchEvent @ extensions::guestViewContainer:150 (anonymous) @ extensions::guestViewEvents:117 (anonymous) @ extensions::guestViewEvents:179 E:\Apps\微信web开发者工具\c…ist\instrument.js:1 [2022-09-27 08:39:44.185] [ERROR] [C:\Users\SierraQin\AppData\Local\微信开发者工具\User Data\38ea236e6136d1093717eafa733b272e\WeappCode\package.nw\core.wxvpkg\0137de1627f9007d2420e9783d77cc35.js] appservice webview exit with reason: crashed (anonymous) @ E:\Apps\微信web开发者工具\c…ist\instrument.js:1 write @ C:\Users\SierraQin\A…f6febb45c187c3.js:8 (anonymous) @ C:\Users\SierraQin\A…db2900a9d684.js:148 Log.write @ C:\Users\SierraQin\A…db2900a9d684.js:147 Log.formattedError @ C:\Users\SierraQin\A…fdb2900a9d684.js:61 Log.error @ C:\Users\SierraQin\A…fdb2900a9d684.js:58 error @ C:\Users\SierraQin\A…3352c5e8a76dc8.js:2 (anonymous) @ C:\Users\SierraQin\A…20e9783d77cc35.js:2 n @ E:\Apps\微信web开发者工具\c…r\dist\helpers.js:1 (anonymous) @ extensions::safeMethods:20 GuestViewContainer.dispatchEvent @ extensions::guestViewContainer:150 (anonymous) @ extensions::guestViewEvents:117 (anonymous) @ extensions::guestViewEvents:179 ----- 开发者工具 ----- 环境: win10 x64 21H2 开发者工具从 Nightly 1.06.2209022 至 Nightly 1.06.2209222 的几个开发版和 Stable 1.06.2209070 及 Stable 1.06.2209190 都试过,可以稳定复现 微信基础库从 2.25.0 到 2.26.1 都试过了 特别的,这一问题似乎与安装路径是否存在中文目录名无关。同一台设备上安装了两套开发者工具,上面截图上是开发版Nightly的,带中文目录名,另一套稳定版的开发者工具整个安装路径不带中文和空格,问题同样存在。
2022-09-27