<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>186561</bug_id>
          
          <creation_ts>2009-03-08 16:07:26 +0000</creation_ts>
          <short_desc>Control of visibility of the menu bar in kde4 konsoles does not work properly</short_desc>
          <delta_ts>2014-12-11 18:37:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konsole</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Mandriva RPMs</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nicolas L.">kde</reporter>
          <assigned_to name="Konsole Bugs">konsole-bugs-null</assigned_to>
          <cc>echidnaman</cc>
    
    <cc>vbatts</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>4.8</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>727270</commentid>
    <comment_count>0</comment_count>
    <who name="Nicolas L.">kde</who>
    <bug_when>2009-03-08 16:07:26 +0000</bug_when>
    <thetext>Version:            (using KDE 4.2.1)
Installed from:    Mandriva RPMs


Description of problem:

Konsole allows for konsoles with a given profile to be created with or without
a visible menubar by doing Settings -&gt; Edit current profile -&gt; General -&gt; Show
menu bar in new windows.

Regardless of the settings selected for a profile, konsoles are sometimes
created with and sometimes without a menu bar. It looks likely that visibility
of the menubar is determined - rather than by the definition in the profile -
by what figures in .kde4/share/config/konsolerc - which reflects the last
explicit action of hiding or showing the menubar in some other konsole. This
behaviour is not what is needed when using profiles (the behaviour in kde3 was
correct).


Version-Release number of selected component (if applicable):
konsole from KDE 4.2.1

How reproducible:
not always; see remark about influence of menubar-visibility toggling in other
konsoles as recorded in konsolerc


Steps to Reproduce:
1. Create a profile with menubars made invisible (Settings -&gt; Edit current
profile -&gt; General -&gt; uncheck &quot;Show menu bar in new windows&quot;
2. Launch a konsole
3. In some other konsole: do View -&gt; Check/Uncheck &quot;Show Menu Bar&quot;
4. Iterate (2) and (3)

.kde4/share/config/konsolerc  -  first  &gt;&gt; https://qa.mandriva.com/attachment.cgi?id=12564

First dump of my konsolerc




.kde4/share/config/konsolerc  -  second &gt;&gt; https://qa.mandriva.com/attachment.cgi?id=12565

Second dump of my konsolerc - make immediately after the first, after having
done precisely 2 actions:
 - action 1: resize the height of a (any) konsole
 - action 2: konsole popup-window -&gt; hit &quot;Show Menu Bar&quot;


The 2 images of konsolerc illustrate the probable reason for the problem:

When there was a &quot;Set default konsole&quot; button (kde3), konsolerc was
(essentially) updated only when that button was hit. In kde4 this button has
not been implemented, and konsolerc is updated whenever the properties of any
konsole has been modified. That would be OK (it is a question of taste), but
only if konsoles that are newly created with a given profile are created with
the properties defined in the profile - the values from konsolerc should only
be used to determine properties that are not defined in the profile.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>727356</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Thomas">echidnaman</who>
    <bug_when>2009-03-08 18:28:37 +0000</bug_when>
    <thetext>This might be related to bug 172142.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1166657</commentid>
    <comment_count>2</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2011-09-24 22:03:43 +0000</bug_when>
    <thetext>Git commit b5dc6891a8c4cb58de7ad5a640f17c823fc1e953 by Jekyll Wu.
Committed on 24/09/2011 at 23:59.
Pushed by jekyllwu into branch &apos;master&apos;.

The initial visibility of menubar should be determined by profile option.

BUG: 186561
FIXED-IN: 4.8
REVIEW: 102502

M  +27   -14   src/MainWindow.cpp
M  +7    -4    src/MainWindow.h

http://commits.kde.org/konsole/b5dc6891a8c4cb58de7ad5a640f17c823fc1e953</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1476105</commentid>
    <comment_count>3</comment_count>
    <who name="Vincent Batts">vbatts</who>
    <bug_when>2014-10-14 14:35:50 +0000</bug_when>
    <thetext>Hey there,
I am on KDE 4.10.5 / Konsole 2.10.5 and still having this exact failure. Even manually setting the value &apos;MenuBar=Disabled&apos; is reverted on closing and reopening konsole.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1478044</commentid>
    <comment_count>4</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2014-10-25 16:26:01 +0000</bug_when>
    <thetext>Vincent, what is your setting in &quot;Configure Konsole...&quot; &gt; General &gt; Show menubar by default?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485148</commentid>
    <comment_count>5</comment_count>
    <who name="Vincent Batts">vbatts</who>
    <bug_when>2014-12-11 18:37:59 +0000</bug_when>
    <thetext>ah. That did it. That seems like a new place. Thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>