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

            Bug ID: 508239
           Summary: Assert when trying to zoom documentation view with
                    ctrl+wheel
    Classification: Applications
           Product: kdevelop
      Version First git master
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Documentation viewer
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
When trying to zoom the documentation view we run into an assert

STEPS TO REPRODUCE
1.  ctrl+wheel on documentation view

OBSERVED RESULT

ASSERT failure in KConfigGroup::writeEntry: "writing to a read-only group",
file /home/david/kde/src/kconfig/src/core/kconfiggroup.cpp, line 888


EXPECTED RESULT
zoom 

SOFTWARE/OS VERSIONS
KDE Plasma Version: git master
KDE Frameworks Version:  git master
Qt Version:  6.9.1

ADDITIONAL INFORMATION

#8  0x00007ffff612b779 in QMessageLogger::fatal (this=<optimized out>,
msg=0x7ffff5e47708 "ASSERT failure in %s: \"%s\", file %s, line %d")
    at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+unstable+build121/src/corelib/global/qlogging.cpp:883
#9  0x00007ffff6115fae in qt_assert_x (where=<optimized out>, what=<optimized
out>, file=<optimized out>, line=<optimized out>) at
/usr/src/qt6-base-6.9.1-0zneon+24.04+noble+unstable+build121/src/corelib/global/qassert.cpp:114
#10 0x00007ffff6f41436 in KConfigGroup::writeEntry (this=0x55555b98e630,
key=0x7ffff7f82785 "Zoom Factor", value=..., flags=...) at
/home/david/kde/src/kconfig/src/core/kconfiggroup.cpp:888
#11 0x00007ffff7f2c11f in KConfigGroup::writeEntry<double>
(this=0x55555b98e630, key=0x7ffff7f82785 "Zoom Factor", value=@0x55555b98e640:
0.90702947845804982, pFlags=...)
    at /home/david/kde/usr/include/KF6/KConfigCore/kconfiggroup.h:931
#12 0x00007ffff7f2b321 in KDevelop::ZoomControllerPrivate::writeConfig
(this=0x55555b98e630) at
/home/david/kde/src/kdevelop/kdevplatform/util/zoomcontroller.cpp:54
#13 0x00007ffff7f2b506 in KDevelop::ZoomController::setFactor
(this=0x55555b9b6970, factor=0.90702947845804982) at
/home/david/kde/src/kdevelop/kdevplatform/util/zoomcontroller.cpp:82
#14 0x00007ffff7f2b594 in KDevelop::ZoomController::zoomBy
(this=0x55555b9b6970, scale=-1) at
/home/david/kde/src/kdevelop/kdevplatform/util/zoomcontroller.cpp:90
#15 0x00007ffff7f2b7b4 in KDevelop::ZoomController::handleWheelEvent
(this=0x55555b9b6970, event=0x7fffffffc600) at
/home/david/kde/src/kdevelop/kdevplatform/util/zoomcontroller.cpp:130
#16 0x00007ffff62459e6 in KDevelop::StandardDocumentationView::eventFilter
(this=0x555556f3ad40, object=0x55555ba243c0, event=0x7fffffffc600) at
/home/david/kde/src/kdevelop/kdevplatform/documentation/standarddocumentationview.cpp:344
#17 0x00007ffff60b57d8 in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x55555ba243c0, event=event@entry=0x7fffffffc600)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to