This repository has been archived by the owner on Sep 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 119
segfault when opening 3D view #440
Comments
Using latest git commit:
|
I have the same issue as @tonylambiris with the latest commit e65de5a.
|
I have the same issue and after some digging I was able to make it work by disabling the color palette setting in QList<DockWidget*> dock_widgets = findChildren<DockWidget*>();
for (auto dock_widget : dock_widgets) {
if (false && mark_active_dock_widget_ && active_dock_widget_ == dock_widget) {
dock_widget->setStyleSheet(
QString("%1::title {"
"background : palette(highlight);"
"color : palette(highlighted-text);"
"}")
.arg(QString(dock_widget->metaObject()->className())
.replace(':', '-')));
} else {
// always force emptystylesheet
dock_widget->setStyleSheet("");
}
} It seems to be related to Qt palette ( I also get these messages : qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: palette support is disabled ) No idea how to really fix this though, and it will still crash if you try dragging parts of the window. Any ideas ? |
Added the following patch to veles-git in the AUR. diff --git a/src/ui/mainwindowwithdetachabledockwidgets.cc b/src/ui/mainwindowwithdetachabledockwidgets.cc
index 15e7e17..05a81e9 100644
--- a/src/ui/mainwindowwithdetachabledockwidgets.cc
+++ b/src/ui/mainwindowwithdetachabledockwidgets.cc
@@ -603,7 +603,8 @@ void MainWindowWithDetachableDockWidgets::updateActiveDockWidget() {
QList<DockWidget*> dock_widgets = findChildren<DockWidget*>();
for (auto dock_widget : dock_widgets) {
- if (mark_active_dock_widget_ && active_dock_widget_ == dock_widget) {
+ // always force emptystylesheet to fix veles crashes
+ if (false && mark_active_dock_widget_ && active_dock_widget_ == dock_widget) {
dock_widget->setStyleSheet(
QString("%1::title {"
"background : palette(highlight);" Thanks for digging into this @Juleinn |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
File: inject.bin from "True Detective" CTFZone quals 2018
Linux IHM 4.14.16-gentoo #2 SMP Sat Feb 3 03:38:21 CET 2018 x86_64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GenuineIntel GNU/Linux
The text was updated successfully, but these errors were encountered: