[marble] [Bug 377231] Color of track not modifyable

Dave Gilbert bugzilla_noreply at kde.org
Sun Apr 23 12:08:37 BST 2023


https://bugs.kde.org/show_bug.cgi?id=377231

--- Comment #10 from Dave Gilbert <gilbertd+kde at treblig.org> ---
Thanks; that OK case has gone.
There's stil something odd going on, I tend to fully open the section of the
tree, so I see:
v <tick> Track... Document
   v <tick> time  Placemark  0 1
     v            MultiGeometry
                  Track

and then play with the ticks and bringing the dialog up.  Sometimes I see that
there's a change where the 'MultiGeometry' and 'track' entries disappear when I
turn the tick off and back; sometimes the track itself isn't displayed again.
and on a really bad day, I just triggered the cancel crash again:

(gdb) bt full
#0  __cxxabiv1::__dynamic_cast(void const*, __cxxabiv1::__class_type_info
const*, __cxxabiv1::__class_type_info const*, ptrdiff_t)
    (src_ptr=0x7fff30013a50, src_type=0x7ffff7e21168 <typeinfo for
Marble::GeoDataObject>, dst_type=0x7ffff7e1fac8 <typeinfo for
Marble::GeoDataContainer>, src2dst=0) at
../../../../libstdc++-v3/libsupc++/dyncast.cc:57
        vtable = 0x7ff8cff23bc3
        prefix = 0x7ff8cff23bb3
        whole_ptr = <optimized out>
        whole_type = <optimized out>
        result = {dst_ptr = 0x179df50, whole2dst = 3964353270, whole2src =
32767, dst2src = 805330464, whole_details = 32767}
        whole_vtable = <optimized out>
        whole_prefix = <optimized out>
#1  0x00007ffff79164b9 in Marble::GeoDataTreeModel::rowCount(QModelIndex
const&) const (this=0xb05740, parent=...)
    at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:136
        container = 0x0
        parentItem = 0x7fff30013a50
#2  0x00007fffeca63d78 in QAbstractItemModel::hasIndex(int, int, QModelIndex
const&) const (this=0xb05740, row=0, column=0, parent=...)
    at itemmodels/qabstractitemmodel.cpp:1784
#3  0x00007ffff7917cda in Marble::GeoDataTreeModel::index(int, int, QModelIndex
const&) const (this=0xb05740, row=0, column=0, parent=...)
    at /discs/more/git/marble/src/lib/marble/GeoDataTreeModel.cpp:371
        parentItem = 0x7fffec4b682b
<__cxxabiv1::__vmi_class_type_info::__do_dyncast(long,
__cxxabiv1::__class_type_info::__sub_kind, __cxxabiv1::__class_type_info
const*, void const*, __cxxabiv1::__class_type_info const*, void const*,
__cxxabiv1::__class_type_info::__dyncast_result&) const+635>
        childItem = 0x7ffff7e20210 <typeinfo for Marble::GeoDataDocument>
#4  0x00007fffeca8b7d1 in
QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const
(this=this at entry=0x179df50, proxy_index=<optimized out>)
    at itemmodels/qsortfilterproxymodel.cpp:576
        it = {i = <optimized out>}
        m = <optimized out>
        source_row = <optimized out>
        source_col = <optimized out>
#5  0x00007fffeca8bc55 in QSortFilterProxyModel::mapToSource(QModelIndex
const&) const (proxyIndex=<optimized out>, this=<optimized out>)
    at itemmodels/qsortfilterproxymodel.cpp:3171
        d = 0x179df50
        d = 0x179df50
        source_index = {r = -1, c = -1, i = 0, m = 0x0}
#6  QSortFilterProxyModel::flags(QModelIndex const&) const (this=<optimized
out>, index=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:2548
--Type <RET> for more, q to quit, c to continue without paging--
        d = 0x179df50
        source_index = {r = -1, c = -1, i = 0, m = 0x0}
#7  0x00007fffeca73820 in QModelIndex::flags() const (this=0x1a79420) at
../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:463
#8  QItemSelection::contains(QModelIndex const&) const
(this=this at entry=0x179e5a0, index=...) at
itemmodels/qitemselectionmodel.cpp:496
#9  0x00007fffeca73f2f in QItemSelectionModel::isSelected(QModelIndex const&)
const (this=<optimized out>, index=...)
    at itemmodels/qitemselectionmodel.cpp:1460
        d = 0x179e530
        selected = false
        it = {i = 0x7fffecb88c50 <QListData::shared_null+16>}
#10 0x00007fffedaa8dab in QTreeView::drawBranches(QPainter*, QRect const&,
QModelIndex const&) const
    (this=0x18d7060, painter=0x7fffffffc1b8, rect=<optimized out>, index=...)
at itemviews/qtreeview.cpp:1834
        d = 0x179b740
        reverse = false
        indent = 20
        outer = 0
        viewItem = @0x1a79420: {index = {r = 0, c = 0, i = 34955584, m =
0x16ad1c0}, parentItem = 6, expanded = 0, spanning = 0, hasChildren = 0,
hasMoreSiblings = 0, total = 0, level = 3, height = 17}
        level = 3
        primitive = {x1 = 80, y1 = 119, x2 = <optimized out>, y2 = <optimized
out>}
        parent = {r = <optimized out>, c = <optimized out>, i = <optimized
out>, m = <optimized out>}
        current = {r = 0, c = 0, i = 34060896, m = 0x16ad1c0}
        ancestor = {r = 0, c = 0, i = 32675840, m = 0x16ad1c0}
        opt = {<QStyleOption> = {version = 4, type = 10, state = {i = 65537},
direction = Qt::LeftToRight, rect = {x1 = 0, y1 = 0, x2 = -1, y2 = -1},
fontMetrics = {d = {d = 0x9a7e40}}, palette = {d = 0x99b0d0, {data =
{current_group = 0, resolve_mask = 0}, for_faster_swapping_dont_use = 0}},
styleObject = 0x18d7060}, displayAlignment = {i = 129}, decorationAlignment =
{i = 132}, textElideMode = Qt::ElideLeft, decorationPosition =
QStyleOptionViewItem::Left, decorationSize = {wd = 16, ht = 16}, font = {d = {d
= 0x9a7e40}, resolve_mask = 0}, showDecorationSelected = true, features = {i =
0}, locale = {d = {d = 0x2199e70}}, widget = 0x18d7060, index = {r = -1, c =
-1, i = 0, m = 0x0}, checkState = Qt::Unchecked, icon = {d = 0x0}, text = {d =
0x7fffecb88160 <QArrayData::shared_null>}, viewItemPosition =
QStyleOptionViewItem::Invalid, backgroundBrush = {d = {d = 0x4e74e0}}}
        extraFlags = {i = 65537}
        hoverRow = false
#11 0x00007fffedaad069 in QTreeView::drawRow(QPainter*, QStyleOptionViewItem
const&, QModelIndex const&) const
    (this=0x18d7060, painter=0x7fffffffc1b8, option=<optimized out>, index=...)
at itemviews/qtreeview.cpp:1753
        i = <optimized out>
        branches = {x1 = 0, y1 = 119, x2 = 79, y2 = 135}
        setClipRect = false
        oldState = {i = 65537}
        headerSection = <optimized out>
        currentLogicalSection = 0
        d = 0x179b740
        opt = {<QStyleOption> = {version = 4, type = 10, state = {i = 65537},
direction = Qt::LeftToRight, rect = {x1 = 80, y1 = 119, x2 = 199, y2 = 135},
fontMetrics = {d = {d = 0x9a7e40}}, palette = {d = 0x99b0d0, {data =
{current_group = 0, resolve_mask = 0}, for_faster_swapping_dont_use = 0}},
styleObject = 0x18d7060}, displayAlignment = {i = 129}, decorationAlignment =
{i = 132}, textElideMode = Qt::ElideLeft, decorationPosition =
QStyleOptionViewItem::Left, decorationSize = {wd = 16, ht = 16}, font = {d = {d
= 0x9a7e40}, resolve_mask = 0}, showDecorationSelected = true, features = {i =
0}, locale = {d = {d = 0x7fffcc002440}}, widget = 0x18d7060, index = {r = -1, c
= -1, i = 0, m = 0x0}, checkState = Qt::Unchecked, icon = {d = 0x0}, text = {d
= 0x7fffecb88160 <QArrayData::shared_null>}, viewItemPosition =
QStyleOptionViewItem::Beginning, backgroundBrush = {d = {d = 0x4e74e0}}}
        offset = {xp = 0, yp = <optimized out>}
        y = 119
        parent = {r = 0, c = 0, i = 34060896, m = 0x16ad1c0}
        header = 0x179a570
        current = {r = 0, c = 0, i = 32675840, m = 0x16ad1c0}
        hover = {r = -1, c = -1, i = 0, m = 0x0}
        reverse = false
        state = {i = 65537}
        spanning = false
        left = <optimized out>
        right = <optimized out>
        alternate = false
        enabled = true
        allColumnsShowFocus = false
        indexWidgetHasFocus = false
        widgetHasFocus = true
        currentRowHasFocus = <optimized out>
        width = 200
        height = 17
        position = 0
        modelIndex = {r = 0, c = 0, i = 26274384, m = 0x16ad1c0}
        hoverRow = false
        logicalIndices = {d = 0x1ffe830}
        viewItemPosList = {d = 0x1f5d360}
    at itemviews/qtreeview.cpp:1504
        itemHeight = <optimized out>
        area = {x1 = 0, y1 = 0, x2 = 402, y2 = 957}
        i = 7
        y = <optimized out>
        a = @0x1ef0880: {x1 = 0, y1 = 0, x2 = 402, y2 = 957}
        __for_range = @0x7fffffffc458: {d = 0x205f210, static shared_empty =
{ref = {atomic = {_q_value = std::atomic<int> = { -1 }}}, qt_rgn =
0x7fffed438ec0 <qrp>}}
        __for_begin = 0x1ef0880
        __for_end = 0x1ef0890
        d = 0x179b740
        viewItems = @0x179bb78: {d = 0x1a792f0}
        option = {<QStyleOption> = {version = 4, type = 10, state = {i =
65537}, direction = Qt::LeftToRight, rect = {x1 = 0, y1 = 119, x2 = 402, y2 =
135}, fontMetrics = {d = {d = 0x9a7e40}}, palette = {d = 0x99b0d0, {data =
{current_group = 0, resolve_mask = 0}, for_faster_swapping_dont_use = 0}},
styleObject = 0x18d7060}, displayAlignment = {i = 129}, decorationAlignment =
{i = 132}, textElideMode = Qt::ElideLeft, decorationPosition =
QStyleOptionViewItem::Left, decorationSize = {wd = 16, ht = 16}, font = {d = {d
= 0x9a7e40}, resolve_mask = 0}, showDecorationSelected = true, features = {i =
0}, locale = {d = {d = 0x7fffcc002440}}, widget = 0x18d7060, index = {r = -1, c
= -1, i = 0, m = 0x0}, checkState = Qt::Unchecked, icon = {d = 0x0}, text = {d
= 0x7fffecb88160 <QArrayData::shared_null>}, viewItemPosition =
QStyleOptionViewItem::Invalid, backgroundBrush = {d = {d = 0x4e74e0}}}
        state = {i = 65537}
        firstVisibleItemOffset = 0
        firstVisibleItem = 0
        viewportWidth = 403
        hoverPos = {xp = 745, yp = 643}
        drawn = {d = 0x7fffecb88160 <QArrayData::shared_null>}
        multipleRects = false
#13 0x00007fffedab7773 in QTreeView::paintEvent(QPaintEvent*) (this=0x18d7060,
event=0x7fffffffc430) at itemviews/qtreeview.cpp:1332
        d = 0x179b740
        painter = {d_ptr = {d = 0x2057a00}}
#14 0x00007fffed7f3688 in QWidget::event(QEvent*) (this=this at entry=0x18d7060,
event=event at entry=0x7fffffffc430) at kernel/qwidget.cpp:9045
        d = <optimized out>
#15 0x00007fffed8a4ae7 in QFrame::event(QEvent*) (this=0x18d7060,
e=0x7fffffffc430) at widgets/qframe.cpp:550
        result = <optimized out>
#16 0x00007fffecab3af6 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
    (receiver=receiver at entry=0x16a9ad0, event=event at entry=0x7fffffffc430) at
kernel/qcoreapplication.cpp:1190
        obj = <optimized out>
        i = 0
#17 0x00007fffed7aeb65 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=<optimized out>, receiver=0x16a9ad0, e=0x7fffffffc430)
    at kernel/qapplication.cpp:3634
        consumed = false
        filtered = false
#18 0x00007fffecab3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x16a9ad0, event=0x7fffffffc430) at kernel/qcoreapplication.cpp:1064
        selfRequired = true
        result = false
        cbdata = {0x16a9ad0, 0x7fffffffc430, 0x7fffffffc3cf}
        d = <optimized out>
        threadData = 0x4aea10
        scopeLevelCounter = {threadData = 0x4aea10}
#19 0x00007fffecab3f82 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=<optimized out>, event=<optimized out>)
    at kernel/qcoreapplication.cpp:1474
#20 0x00007fffed7eb39e in QWidgetPrivate::sendPaintEvent(QRegion const&)
(this=this at entry=0x16abad0, toBePainted=...) at kernel/qwidget.cpp:5479
        q = 0x16a9ad0
        e = {<QEvent> = {_vptr.QEvent = 0x7fffed4182c0 <vtable for
QPaintEvent+16>, static staticMetaObject = {d = {superdata = {direct = 0x0},
stringdata = 0x7fffecc67d60 <qt_meta_stringdata_QEvent>, data = 0x7fffecc677a0
<qt_meta_data_QEvent>, static_metacall = 0x0, relatedMetaObjects = 0x0,
extradata = 0x0}}, d = 0x0, t = 12, posted = 0, spont = 1, m_accept = 1,
reserved = 0}, m_rect = {x1 = 0, y1 = 0, x2 = 402, y2 = 957}, m_region = {d =
0x205f210}, m_erased = false}
#21 0x00007fffed7ec1fd in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion
const&, QPoint const&, QFlags<QWidgetPrivate::DrawWidgetFlag>, QPainter*,
QWidgetRepaintManager*)
    (this=this at entry=0x16abad0, pdev=<optimized out>, rgn=..., offset=...,
flags=..., sharedPainter=sharedPainter at entry=0x0, repaintManager=<optimized
out>)
    at kernel/qwidget.cpp:5429
        paintEngine = <optimized out>
        skipPaintEvent = <optimized out>
        q = <optimized out>
        asRoot = <optimized out>
        onScreen = <optimized out>
        alsoOnScreen = false
        recursive = true
        alsoInvisible = false
        toBePainted = {d = 0x205f210, static shared_empty = {ref = {atomic =
{_q_value = std::atomic<int> = { -1 }}}, qt_rgn = 0x7fffed438ec0 <qrp>}}

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list