-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid style dock flashing when editing layers
Also prevent a lot of duplicate style dock updates, and fix the style dock losing connection to layer style changes
- Loading branch information
1 parent
df579a5
commit c3c5c43
Showing
10 changed files
with
98 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c3c5c43
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson , I'm not sure if it's this commit (going to figure this out in a minute), but editing a categorized, graduated symbol now crashes QGIS when pressing the [ < ] button. The trace is:
`
#0 QMetaObject::activate (sender=0x0, m=, local_signal_index=0, argv=0x7fffffffc310) at kernel/qobject.cpp:3472
#1 0x00007ffff6f2a854 in QgsPanelWidget::panelAccepted (this=0x0, _t1=0x0) at /home/webmaster/dev/cpp/QGIS/bm/src/gui/moc_qgspanelwidget.cxx:110
#2 0x00007ffff6eadc73 in QgsPanelWidget::acceptPanel (this=0x0) at /home/webmaster/dev/cpp/QGIS/src/gui/qgspanelwidget.cpp:76
#3 0x00007ffff6eae013 in QgsPanelWidgetStack::acceptCurrentPanel (this=0x14b6500) at /home/webmaster/dev/cpp/QGIS/src/gui/qgspanelwidget.cpp:145
#4 0x00007ffff6f2aa71 in QgsPanelWidgetStack::qt_static_metacall (_o=0x14b6500, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffc460)
#5 0x00007ffff58f6010 in QMetaObject::activate (sender=sender@entry=0x14b63c0, m=m@entry=0x7ffff5741f60 QAbstractButton::staticMetaObject,
#6 0x00007ffff52cccb0 in QAbstractButton::pressed (this=this@entry=0x14b63c0) at .moc/release-shared/moc_qabstractbutton.cpp:206
#7 0x00007ffff5002366 in QAbstractButtonPrivate::emitPressed (this=this@entry=0x17aba60) at widgets/qabstractbutton.cpp:562
#8 0x00007ffff5002cd3 in QAbstractButton::mousePressEvent (this=0x14b63c0, e=0x7fffffffca20) at widgets/qabstractbutton.cpp:1098
#9 0x00007ffff4c7f490 in QWidget::event (this=0x14b63c0, event=0x7fffffffca20) at kernel/qwidget.cpp:8385
#10 0x00007ffff4c27fdc in QApplicationPrivate::notify_helper (this=this@entry=0x947f00, receiver=receiver@entry=0x14b63c0, e=e@entry=0x7fffffffca20)
#11 0x00007ffff4c2f0d6 in QApplication::notify (this=, receiver=0x14b63c0, e=0x7fffffffca20) at kernel/qapplication.cpp:4113
#12 0x00007ffff5fc5999 in QgsApplication::notify (this=0x7fffffffdae0, receiver=0x14b63c0, event=0x7fffffffca20)
#13 0x00007ffff58e190d in QCoreApplication::notifyInternal (this=0x7fffffffdae0, receiver=receiver@entry=0x14b63c0, event=event@entry=0x7fffffffca20)
#14 0x00007ffff4c2e6dd in QCoreApplication::sendEvent (event=, receiver=)
#15 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x14b63c0, event=event@entry=0x7fffffffca20, alienWidget=alienWidget@entry=0x14b63c0,
#16 0x00007ffff4cac3f2 in QETWidget::translateMouseEvent (this=this@entry=0xce80b0, event=event@entry=0x7fffffffcd80) at kernel/qapplication_x11.cpp:4638
#17 0x00007ffff4cabc83 in QApplication::x11ProcessEvent (this=0x7fffffffdae0, event=event@entry=0x7fffffffcd80) at kernel/qapplication_x11.cpp:3626
#18 0x00007ffff4cd5542 in x11EventSourceDispatch (s=0x947960, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#19 0x00007fffed33d1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fffed33d400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fffed33d4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ffff59122ae in QEventDispatcherGlib::processEvents (this=0x8a4d80, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#23 0x00007ffff4cd5616 in QGuiEventDispatcherGlib::processEvents (this=, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007ffff58e018f in QEventLoop::processEvents (this=this@entry=0x7fffffffd160, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007ffff58e04f5 in QEventLoop::exec (this=this@entry=0x7fffffffd160, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007ffff58e64b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#27 0x0000000000409ccd in main (argc=1, argv=0x7fffffffddc8) at /home/webmaster/dev/cpp/QGIS/src/app/main.cpp:1257
`
c3c5c43
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, just confirmed, the build start crashing when including this commit c3c5c43 (Avoid style dock flashing when editing layers).
Steps to reproduce the crash: