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-de...@kde.org
          Reporter: ninj...@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 watching all bug changes.

Reply via email to