Bug 364590 - Tool docker bars missing on a fresh KDevelop install
Summary: Tool docker bars missing on a fresh KDevelop install
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.90.91
Platform: Other Linux
: NOR normal
Target Milestone: 5.0.0
Assignee: kdevelop-bugs-null
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2016-06-21 10:20 UTC by Kevin Funk
Modified: 2016-06-26 12:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Funk 2016-06-21 10:20:32 UTC
This is severe, without tool docker bars (the left/bottom/right tool bars for the dockers), KDevelop is almost unusable.

Needs to be investigated. I've seen this on fresh installs on Windows machines, Sven said it also happens on Linux.

Reproducible: Always
Comment 1 Sven Brauch 2016-06-21 11:03:45 UTC
The interesting thing is that this error is only visible on first startup, if you close kdevelop once and reopen it all is fine.
Comment 2 Sven Brauch 2016-06-26 12:39:50 UTC
Git commit bb9dfe6dbee320fa3449675cd492d344fe9b60f4 by Sven Brauch.
Committed on 26/06/2016 at 12:39.
Pushed by brauch into branch '5.0'.

Fix toolview hiding/showing

I can't even begin to describe how broken this was:
 - emptyChanged() was not emitted when a button was added
 - there was a timer firing every 100ms, always (!) checking
   whether to show the toolview
 - once a toolview was hidden the member storing the state could
   never change such that it would show again

CCMAIL:kfunk@kde.org

This _probably_ fixes
because I suspect it happens when the toolviews are constructed before
plugins are loaded; then there are no buttons, and they are all hidden,
and will never be shown again.

M  +4    -0    sublime/idealbuttonbarwidget.cpp
M  +4    -23   sublime/mainwindow_p.cpp

http://commits.kde.org/kdevplatform/bb9dfe6dbee320fa3449675cd492d344fe9b60f4