[Konsole-devel] [Bug 186561] New: Control of visibility of the menu bar in kde4 konsoles does not work properly

Nicolas Lécureuil neoclust at mandriva.org
Sun Mar 8 15:07:28 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=186561

           Summary: Control of visibility of the menu bar in kde4 konsoles
                    does not work properly
           Product: konsole
           Version: unspecified
          Platform: Mandriva RPMs
        OS/Version: unspecified
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: neoclust at mandriva.org


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 -> Edit current profile -> General -> 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 -> Edit current
profile -> General -> uncheck "Show menu bar in new windows"
2. Launch a konsole
3. In some other konsole: do View -> Check/Uncheck "Show Menu Bar"
4. Iterate (2) and (3)

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

First dump of my konsolerc




.kde4/share/config/konsolerc  -  second >>
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 -> hit "Show Menu Bar"


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

When there was a "Set default konsole" 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.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list