Summary: | Dual Tool Views when Build and Version Control Tool Views are Both Present | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | David E. Narvaez <david.narvaez> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amantia |
Priority: | NOR | ||
Version First Reported In: | git master | ||
Target Milestone: | 4.2.3 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David E. Narvaez
2011-11-20 19:27:07 UTC
More info: the issue can be replicated with all of the views of the StandardOutputView (tested with Version Control, Build, Debug and Run). The issue is due to the fact that all of them are created with id org.kdevelop.OutputView[0] so the loop at void MainWindowPrivate::reconstruct()[1] finds all of those tool views with the same id as the tool view that was active before moving out of the Code area. [0] https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/702a99b14ad1379d6564e3e624370fd63162bb13/entry/plugins/standardoutputview/standardoutputview.cpp#L70 [1] https://projects.kde.org/projects/extragear/kdevelop/kdevplatform/repository/revisions/4191e1d10f69c0ca6d78ecc86dfdf230524eb7a9/entry/sublime/mainwindow_p.cpp#L298 Git commit ff2ac655c1371f31fbabaa0c7a33cec368844a26 by Milian Wolff. Committed on 23/11/2011 at 23:21. Pushed by mwolff into branch 'master'. make StandardOutputView OutputViewFactory id's unique TODO: Question is whether this is enough, considering that the numerical ID is random depending on the order of which plugins get loaded. So far I see no problem with it as we apparently only show these views when the first OutputJob runs. BUG: 287093 M +2 -1 plugins/standardoutputview/standardoutputview.cpp http://commits.kde.org/kdevplatform/ff2ac655c1371f31fbabaa0c7a33cec368844a26 *** Bug 287493 has been marked as a duplicate of this bug. *** |