[konsole] [Bug 439529] New: Assert _currentTerminalDisplay in Screen::setTextSelectionRendition()
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Mon Jul 5 21:56:08 BST 2021
https://bugs.kde.org/show_bug.cgi?id=439529
Bug ID: 439529
Summary: Assert _currentTerminalDisplay in
Screen::setTextSelectionRendition()
Product: konsole
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: ninjalj at gmail.com
Target Milestone: ---
SUMMARY
Q_ASSERT(_currentTerminalDisplay) on Screen::setTextSelectionRendition()
triggers on a newly opened konsole after Edit -> Select All.
STEPS TO REPRODUCE
1. Launch a new Konsole.
2. Do NOT interact with the TerminalDisplay widget.
3. On the menubar, select "Edit" → "Select All".
OBSERVED RESULT
ASSERT: "_currentTerminalDisplay" in file
/home/lj/src/term/konsole/src/Screen.cpp, line 658
Abortado
Screen::_currentTerminalDisplay is not set until one of the following methods
is called:
TerminalDisplay::mousePressEvent()
TerminalDisplay::wheelEvent()
TerminalDisplay::keyPressEvent()
Maybe Screen::_currentTerminalDisplay should be set on Session::addView() ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list