| Summary: | Use "Close all other output views" is breaking filtered Output in not closed view | ||
|---|---|---|---|
| Product: | [Developer tools] kdevplatform | Reporter: | Piotr Mierzwinski <piotr.mierzwinski> |
| Component: | outputview | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cordlandwehr, nhaehnle, piotr.mierzwinski |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | 5.0.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/kdevelop/4fb465589abaec300c75c01d0a8274d3fff0b316 | Version Fixed/Implemented In: | 5.2.4 |
| Sentry Crash Report: | |||
|
Description
Piotr Mierzwinski
2015-01-21 16:34:43 UTC
Dear Piotr, thank you for a high-quality bug report. Confirmed also on the KF5-based master. Even nastier, at least on master it also crashes if you later edit the filter. Anybody who reads this: Feel free to look into this, it's probably not too difficult :) *** Bug 343168 has been marked as a duplicate of this bug. *** Git commit 23fa7951ee49d1b83413f0a7e0bf65aff8feabbc by Milian Wolff. Committed on 27/01/2015 at 12:42. Pushed by mwolff into branch '1.7'. Cleanup code to prevent crashes when accessing nullptr. M +9 -8 plugins/standardoutputview/outputwidget.cpp http://commits.kde.org/kdevplatform/23fa7951ee49d1b83413f0a7e0bf65aff8feabbc *** Bug 339900 has been marked as a duplicate of this bug. *** In KDevelop 5 this bug still persist.
Below I remind the steps to reproduce this bug.
1. Run ("Execute Launch") your application in KDevelop what produce some output. Close it
2. Run again your application
Now there is two Run outputs.
3. Put something in filter what matches to some string in Run output
You should receive some result, for example couple matching lines instead of 100 (original output)
4. Click button on Run output with description "Close all other output views"
In result:
- filter filed is cleaned
- we are no able to restore original content of "Run" output
My system. Linux 4.7.2-1-ARCH KF-5.25, Qt-5.7.0 Packages built from git (at 2016/09/05), brach 5.0. kdevelop-git-debug-5.0.0.r23429.f5cf3c6 kdevplatform-git-debug-5.0.0.r13375.d5aa9f3 Git commit 4fb465589abaec300c75c01d0a8274d3fff0b316 by Kevin Funk, on behalf of Vyacheslav Korneev. Committed on 16/08/2018 at 09:31. Pushed by kfunk into branch '5.2'. Fix problems with output filters in StandardOutputView plugin Summary: Multiple problems with filters in StandardOutputView plugin including discrepancy between output view, filter and proxy model were caused by using the tab index instead of view index as a key to m_filters and m_proxyModels maps. Reviewers: #kdevelop, brauch Subscribers: kfunk, brauch, kdevelop-devel Tags: #kdevelop Differential Revision: https://phabricator.kde.org/D14750 M +20 -16 plugins/standardoutputview/outputwidget.cpp https://commits.kde.org/kdevelop/4fb465589abaec300c75c01d0a8274d3fff0b316 |