Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]更新后出现问题 #35

Closed
Hitagi-Hu opened this issue Oct 9, 2024 · 5 comments
Closed

[bug]更新后出现问题 #35

Hitagi-Hu opened this issue Oct 9, 2024 · 5 comments

Comments

@Hitagi-Hu
Copy link

1.最大化窗口时,左边侧栏是展开的,无法折叠回去
2.点击应用偶尔需要两次甚至多次才能启动

版本:1.10
仓库:flatpak
系统信息:fedora40 x86_64
linux内核:6.10
桌面:gnome 46.5

@Hitagi-Hu
Copy link
Author

补充:
1.窗口最大化时,左侧少了"meau"这个折叠按钮
2.偶尔第一次点击打开应用,会卡在不完整的转圈圈的启动动画然后闪退,再次打开就能成功启动。在我电脑上发生的频率不低。

@hypengw
Copy link
Owner

hypengw commented Oct 9, 2024

flatpak install io.github.hypengw.Qcm.Debug
flatpak run --devel --command=bash io.github.hypengw.Qcm
[📦 io.github.hypengw.Qcm ~]$ gdb Qcm
(gdb) run
Enable debuginfod for this session? (y or [n]) n

# when crash
(gdb) bt

@hypengw
Copy link
Owner

hypengw commented Oct 9, 2024

然后把 bt 后的输出贴一下

1.窗口最大化时,左侧少了"meau"这个折叠按钮

设计就是这样的,最大化时 drawer 已经展开到窗口了

@Hitagi-Hu
Copy link
Author

Hitagi-Hu commented Oct 11, 2024

flatpak install io.github.hypengw.Qcm.Debug
flatpak run --devel --command=bash io.github.hypengw.Qcm
[📦 io.github.hypengw.Qcm ~]$ gdb Qcm
(gdb) run
Enable debuginfod for this session? (y or [n]) n

# when crash
(gdb) bt

#0 0x00007ffff2d85555 in QCoreApplicationPrivate::lockThreadPostEventList(QObject*) ()
at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#1 0x00007ffff2dd5c5d in QObject::deleteLater() () at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#2 0x00007ffff65893a7 in qcm::Global::set_session (this=, val=)
at /run/build/Qcm/qcm_interface/global.cpp:255
#3 0x00005555555ca5b1 in operator() (ok=, __closure=)
at /run/build/Qcm/app/src/action.cpp:97
#4 tl::detail::invoke<qcm::App::on_load_session(qcm::model::Session*)::<lambda()>::operator()(qcm::App::on_load_session(qcm::model::Session*)::<lambda()>::_ZZN3qcm3App15on_load_sessionEPNS_5model7SessionEENKUlvE_clEv.Frame*)::<lambda(bool)>, bool&> (f=)
at /run/build/Qcm/third_party/expected/include/tl/expected.hpp:298
#5 tl::detail::expected_map_impl<tl::expected<bool, error::Error>&, qcm::App::on_load_session(qcm::model::Session*)::<lambda()>::operator()(qcm::App::on_load_session(qcm::model::Session*)::<lambda()>::_ZZN3qcm3App15on_load_sessionEPNS_5model7SessionEENKUlvE_clEv.Frame*)::<lambda(bool)>, 0>
(f=, exp=...)
at /run/build/Qcm/third_party/expected/include/tl/expected.hpp:2117
#6 tl::expected<bool, error::Error>::transform<qcm::App::on_load_session(qcm::model::Session*)::<lambda()>::operator()(qcm::App::on_load_session(qcm::model::Session*)::<lambda()>::_ZZN3qcm3App15on_load_sessionEPNS_5model7SessionEENKUlvE_clEv.Frame*)::<lambda(bool)> >
(f=, this=0x7fffe40e7ea0)
at /run/build/Qcm/third_party/expected/include/tl/expected.hpp:1383
#7 operator()(_ZZN3qcm3App15on_load_sessionEPNS_5model7SessionEENKUlvE_clEv.Frame )
(frame_ptr=0x7fffe40e7e50) at /run/build/Qcm/app/src/action.cpp:93
--Type for more, q to quit, c to continue without paging--RET
#8 0x00005555555d5d9d in std::__n4861::coroutine_handle::resume (this=)
at /usr/include/c++/13.2.0/coroutine:135
#9 asio::detail::awaitable_frame_baseasio::any_io_executor::resume (this=)
at /run/build/Qcm/third_party/asio/asio/include/asio/impl/awaitable.hpp:500
#10 asio::detail::awaitable_threadasio::any_io_executor::pump (this=0x555556d13a50)
at /run/build/Qcm/third_party/asio/asio/include/asio/impl/awaitable.hpp:768
#11 asio::detail::awaitable_handlerasio::any_io_executor::operator() (this=)
at /run/build/Qcm/third_party/asio/asio/include/asio/impl/use_awaitable.hpp:72
#12 asio::executor_binder<asio::detail::awaitable_handlerasio::any_io_executor, QtExecutor>::operator()<>() (this=)
at /run/build/Qcm/third_party/asio/asio/include/asio/bind_executor.hpp:376
#13 asio::detail::binder0<asio::executor_binder<asio::detail::awaitable_handlerasio::any_io_executor, QtExecutor> >::operator() (this=)
at /run/build/Qcm/third_party/asio/asio/include/asio/detail/bind_handler.hpp:55
#14 QtExecFuncEvent<asio::detail::binder0<asio::executor_binder<asio::detail::awaitable_handlerasio::any_io_executor, QtExecutor> > >::invoke (this=0x555556d13a30)
at /run/build/Qcm/asio_qt/include/asio_qt/qt_execution_context.h:25
#15 0x00007ffff658fb39 in QtExecutionContext::EventRunner::event
(this=, event=)
at /run/build/Qcm/asio_qt/qt_execution_context.cpp:11
#16 QtExecutionContext::EventRunner::event (this=, event=)
at /run/build/Qcm/asio_qt/qt_execution_context.cpp:7
#17 0x00007ffff719e3d8 in QApplicationPrivate::notify_helper(QObject
, QEvent*) ()
--Type for more, q to quit, c to continue without paging--c
at /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6
#18 0x00007ffff2d82e40 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#19 0x00007ffff2d86d75 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#20 0x00007ffff307517f in ??? () at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#21 0x00007ffff252ae59 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff25882b8 in g_main_context_iterate.isra ()
at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff2528513 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff307491f in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#25 0x00007ffff2d8fa4b in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) ()
at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#26 0x00007ffff2d8bc4d in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
#27 0x00005555555b72c7 in main (argc=, argv=)
at /run/build/Qcm/app/main.cpp:57
(gdb)

@hypengw
Copy link
Owner

hypengw commented Oct 11, 2024

fixed: b7bf782

@hypengw hypengw closed this as completed Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants