-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QTerminal crashes when try to split V o H on kwin_wayland #1031
Comments
We had #806 two years ago, fixed in lxqt/qtermwidget#424. This one seems related (because of |
Apparently the size of @stefonarch decoder.decodeLine(&_image[loc(0,cursorPos.y())],_usedColumns,_lineProperties[cursorPos.y()]); to decoder.decodeLine(&_image[loc(0,cursorPos.y())],_usedColumns,0); |
It works. |
I don't know why these things happen only with kwin_wayland. Will make a PR. |
On the one hand, `PlainTextDecoder::decodeLine()` doesn't use its last argument. On the other hand, there is something wrong with handling of the private variable `_lineProperties` in `TerminalDisplay` because it may be used outside its range and cause a crash in `TerminalDisplay::inputMethodQuery()` under Wayland (see lxqt/qterminal#1031). Therefore, this patch removes it from `TerminalDisplay::inputMethodQuery()`. Fixes lxqt/qterminal#1031
On the one hand, `PlainTextDecoder::decodeLine()` doesn't use its last argument. On the other hand, there is something wrong with handling of the private variable `_lineProperties` in `TerminalDisplay` because it may be used outside its range and cause a crash in `TerminalDisplay::inputMethodQuery()` under Wayland (see lxqt/qterminal#1031). Therefore, this patch removes it from `TerminalDisplay::inputMethodQuery()`. Fixes lxqt/qterminal#1031
On the one hand, `PlainTextDecoder::decodeLine()` doesn't use its last argument. On the other hand, there is something wrong with handling of the private variable `_lineProperties` in `TerminalDisplay` because it may be used outside its range and cause a crash in `TerminalDisplay::inputMethodQuery()` under Wayland (see lxqt/qterminal#1031). Therefore, this patch removes it from `TerminalDisplay::inputMethodQuery()`. Fixes lxqt/qterminal#1031
Both in plasma-session and lxqt-wayland session with kwin_wayland.
Steps to Reproduce (for bugs)
(for testing from tty:
kwin_wayland application qterminal
)Context
Testing LXQt-session with kwin_wayland
System Information
The text was updated successfully, but these errors were encountered: