Bug 92913

Summary: Debugger floating toolbar appeared when it wasn't supposed to
Product: [Applications] kdevelop Reporter: Adam <adam.richard2023>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: sschmidt
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Adam 2004-11-08 14:58:08 UTC
Version:           3.1.0 (using KDE KDE 3.3.0)
Installed from:    Gentoo Packages
Compiler:          gcc (GCC) 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6) 
OS:                Linux

See:
http://forums.gentoo.org/viewtopic.php?p=1739674
(at least the first 3 posts).
Comment 1 Matt Rogers 2004-12-14 22:52:04 UTC
this is not a bug. where are the descriptions of the symptoms? where are the instructions to reproduce? posting a link to a forum where it discusses the possibility of a bug is not a bug report. You could have at least copied the relevant parts of the forum postings. Next time, please put a little bit of effort into your bug reports. 
Comment 2 Adam 2004-12-15 03:15:57 UTC
If it's a choice between no bug report or a bug report that links to a forum, which would you prefer?  Sometimes people have time for a quick note but not a full bug report.  If it were my program I'd want to know any information that gives a clue toward the possibility that my program has a bug.

But since I have more time now, here's what I observed:
1. Go to Project -> Project Options -> Debugger
2. Observe that the checkbox "Enable Floating Toolbar" isn't checked
3. Exit the options dialog
4. Start the debugger.  Observe that the Floating Toolbar appears, though it shouldn't
5. Exit the debugger
6. Go back to the options dialog and check the checkbox, click OK, go back again and uncheck it, click OK
7. Start the debugger.  The Floating Toolbar is gone, as it should be

I don't know how the project got into that state, but that's what happened.  I'm using a custom makefile with this project, and it may have also happened in a project where I imported a QT project file, but I forget whether that second case happened.

If it were up to me, I'd fix the bug by just removing that floating toolbar, but it's probably there because someone likes so whatever.
Comment 3 Alexander Dymo 2004-12-15 18:38:38 UTC
CVS commit by dymo: 

Do not use floating toolbar by default.
BUG: 92913


  M +1 -1      debuggerpart.cpp   1.103


--- kdevelop/languages/cpp/debugger/debuggerpart.cpp  #1.102:1.103
@@ -637,5 +637,5 @@ bool DebuggerPart::startDebugger()
     gdbOutputWidget->setEnabled(true);
 
-    if (DomUtil::readBoolEntry(*projectDom(), "/kdevdebugger/general/floatingtoolbar", true))
+    if (DomUtil::readBoolEntry(*projectDom(), "/kdevdebugger/general/floatingtoolbar", false))
     {
         floatingToolBar = new DbgToolBar(this, mainWindow()->main());


Comment 4 Matt Rogers 2004-12-16 01:26:39 UTC
*** Bug 75502 has been marked as a duplicate of this bug. ***