L-Super
L-Super
显示为英文,大概率是没有设置区域,参考[setLocale](https://cefview.github.io/QCefView/zh/docs/reference/QCefConfig#class_q_cef_config_1af67e837996a1dd84af0866f76588ba4e)
> > 用 external_message_loop 模式能解决这个问题 > > @L-Super 可以尝试改变一下线程模式,目前只有macOS使用了external_message_loop模型。 > 我有空也尝试改造一下 OK
那么,按照README步骤之后: ```cpp #include "MainWindow.h" #include "QWKWidgets/widgetwindowagent.h" #include "ui_MainWindow.h" MainWindow::MainWindow(QWidget *parent) : QWidget(parent), ui(new Ui::MainWindow) { ui->setupUi(this); auto agent = new QWK::WidgetWindowAgent(this); agent->setup(this); windowBar = new QWK::WindowBar(); windowBar->setMinButton(ui->minButton); windowBar->setMaxButton(ui->maxButton); windowBar->setCloseButton(ui->closeButton); ui->verticalLayout->insertWidget(0,windowBar);...
测试发现,设置了title,缩放窗口大小时也能复现,系统按钮移动到右侧
Based on the limited information provided,you can try to search for information about CBCM, this should be related to CEF
可降低CEF版本尝试
> > 可降低CEF版本尝试 > > @L-Super 大佬你好,前两天又遇到了一次不同原因的崩溃,debug.log为`ERROR:platform_shared_memory_region_posix.cc(40)] fcntl(116, F_GETFL) failed: 错误的文件描述符 (9)`,堆栈信息为  我应怎么避免这个问题,能再给我一点建议吗,非常感谢 信息有限,无法准确定位。可能与`sandbox`有关,可尝试禁用或者添加权限。 以下链接也许会对你有帮助: https://issues.chromium.org/issues/40789486 https://chromium.googlesource.com/chromium/src/+/master/base/memory/platform_shared_memory_region_posix.cc
> 感谢回复,但是API文档里好像没有禁用`sandbox`的函数,我应该怎么禁用或者添加权限 CMake里有开关
> 在linux下ncw模式无法切换中文输入法并输入中文 目前解决了Linux下使用NCW模式,但是仍有缺陷,比如无法使用中文输入法
对于已知问题,欢迎提交PR。