Bug 56229 - toolbar icons disappearing after switching files
Summary: toolbar icons disappearing after switching files
Status: RESOLVED DUPLICATE of bug 64754
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Stephan Kulow
URL:
Keywords:
: 111569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-22 07:30 UTC by mlemos
Modified: 2009-10-05 18:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
$KDEHOME/share/apps/katepart/katepartui.rc (5.87 KB, text/plain)
2006-06-20 09:43 UTC, Patrick ALLAERT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mlemos 2003-03-22 07:30:21 UTC
Version:            (using KDE KDE 3.1)
Installed from:    SuSE RPMs

When I have multiple files open and I switch the currently displayed in the only view, the katepartview toolbar icons disappear. It disappears one icon for each time I switch files, until there are no more katepartview icons left. Only Kate toolbar icons are left.

Here follows my katerc file to see if it helps you reproducing the problem:

[Colors]
CurrentPalette=40 Colors

[Default Item Styles]
Base-N Integer=FF008080,FF00FFFF,0,0
Character=FFFF00FF,FFFF00FF,0,0
Comment=FF808080,FFA0A0A4,0,1
Data Type=FF800000,FFFFFFFF,0,0
Decimal/Value=FF0000FF,FF00FFFF,0,0
Floating Point=FF800080,FF00FFFF,0,0
Keyword=FF000000,FFFFFFFF,1,0
Normal=FF000000,FFFFFFFF,0,0
Others=FF008000,FF00FF00,0,0
String=FF000080,FFC3C3C3,0,0

[General]
Number of recent files=10
Opaque Resize=true
Show Console=false
Show Full Path in Title=false
Show Toolbar=true
Sync Konsole=true
deleteKDockWidgetConfig=false
reopen at startup=true
restore views=false
size=1012,664
viewMode=Modern

[GrepDialog]
LastSearchItems=Your-options-were-saved,IsSetGlobal,"mirrors",mirrors,locale,extension,CreateContextOutputDirectory,CheckMirrorable,New-password-instructions-already-sent,New-password-instructions-were-sent
LastSearchPaths=/home/mlemos/.kde/share/config

[KDE]
MultipleInstances=false

[KFileDialog Settings]
Automatic Preview=true
Preview Size=60
Recent Files=/home/mlemos/.kde/share/config/katerc
ShowPreviews=false
ViewMode=SmallColumns

[KFileDialog Speedbar]
Number of Entries=0
Speedbar IconSize=16

[KPrinter Settings]
PrintCommand=
Printer=

[Kate Document]
Color Background=195,195,195
Color Selected=84,112,152
ConfigFlags=12239923
Font=courier,-1,12,2,50,0,0,0,0,0
PrintFont=courier,-1,12,2,50,0,0,0,0,0
SearchFlags=36
TabWidth=2
UndoSteps=256
Word Wrap At=72
Word Wrap On=false

[KateDock::bottomDock]
widget0=DOCKconsole

[KateDock::leftDock]
widget0=DOCKoperator

[KateDock::rightDock]
DOCKfilelist=true
widget0=DOCKfilelist
widget1=leftDock
widget2=DOCKoperator
widget3=bottomDock
widget4=DOCKkatexmlcheck_outputview
widget5=DOCKconsole

[MainWindow]
Height 768=663
MenuBar=Enabled
StatusBar=Enabled
Width 1024=1012

[MainWindow Toolbar isearchToolBar]
Hidden=false
IconSize=22
IconText=IconOnly
Index=1
NewLine=false
Offset=-1
Position=Top

[MainWindow Toolbar mainToolBar]
Hidden=false
IconSize=22
IconText=IconTextBottom
Index=0
NewLine=false
Offset=-1
Position=Top

[Recent Files]
File1=file:/home/mlemos/.kde/share/config/katerc

[TipOfDay]
RunOnStart=false

[dock_setting_default]
Main:Geometry=0,24,1012,663
Main:dock=mainDock
Main:view=mainDock,rightDock
Main:visible=true
NameList=mainDock,rightDock,topDock,mainDock\\,rightDock
Version=0.0.5
bottomDock:geometry=0,0,954,33
bottomDock:stayButton=false
bottomDock:type=NULL_DOCK
bottomDock:visible=false
leftDock:geometry=0,0,24,593
leftDock:stayButton=false
leftDock:type=NULL_DOCK
leftDock:visible=false
mainDock,rightDock:first_name=mainDock
mainDock,rightDock:last_name=rightDock
mainDock,rightDock:orientation=1
mainDock,rightDock:parent=yes
mainDock,rightDock:sepPos=67
mainDock,rightDock:stayButton=false
mainDock,rightDock:type=GROUP
mainDock:stayButton=false
mainDock:type=DOCK
rightDock:stayButton=false
rightDock:type=DOCK
topDock:geometry=0,0,981,33
topDock:stayButton=false
topDock:type=NULL_DOCK
topDock:visible=false

[fileselector]
AutoSyncEvents=0
Show Full Path in Title=false
current filter=
dir history=/home/mlemos/,/home/mlemos/.kde/share/config/
filter history=
filter history len=9
last filter=0
location=/home/mlemos/.kde/share/config/
pathcombo history len=9
restore last filter=true
restore location=true
toolbar actions=up,back,forward,home,short view,detailed view,bookmarks,sync_dir

[fileselector:dir]
Separate Directories=false
Show Preview=false
Show hidden files=false
Sort by=Name
Sort case insensitively=false
Sort directories first=true
Sort reversed=false
View Style=Detail

[open files]
reopen at startup=false

[startup]
sdi=false
singleinstance=true
Comment 1 Christoph Cullmann 2003-03-25 23:03:47 UTC
can't reproduce that with current kate from cvs, somebody else might try to verify ? 
Comment 2 Christoph Cullmann 2003-04-23 00:09:18 UTC
no more reports, works here in HEAD, close 
Comment 3 Radu Maurer 2005-02-25 09:36:30 UTC
I can reproduce this one: under the condition that I have some additional custom entries in the KAtePartView Toolbar. The bug is still there with
KDE 3.3.2 / Kate 2.3.2 (Debian unstable)
Comment 4 Stolz 2006-01-08 19:36:41 UTC
The bug is still there in KDE 3.5.0 (kate 2.5.0)
Comment 5 Peter Alexander 2006-05-01 19:24:03 UTC
This bug is occuring for me when I close files or when I switch tabs.
KDE 3.5.2 / KATE 2.5.2 / Gentoo / x86
Comment 6 Patrick ALLAERT 2006-06-13 10:25:12 UTC
Exactly the same with me!
KDE 3.5.3 / KATE 2.5.3 / Gentoo / x86
Comment 7 Patrick ALLAERT 2006-06-15 09:28:56 UTC
please, REOPEN this one, I am available to provide as much info as you need...
Comment 8 Hamish Rodda 2006-06-16 10:07:52 UTC
Please backup your $KDEHOME/share/config/kate*rc and $KDEHOME/share/apps/kate/* files, remove them, and try again (to see if this is a config bug)
Comment 9 Stolz 2006-06-16 11:57:20 UTC
I've removed $KDEHOME/share/config/kate*rc and $KDEHOME/share/apps/kate/* and the bug is still present. With the default config it works well, but with a simple change in the KatePartView toolbar layout it appears again.
Comment 10 Patrick ALLAERT 2006-06-20 09:41:29 UTC
I also removed these directories, but I still could reproduce the bug!
But after restoring them back and removing $KDEHOME/share/apps/katepart/katepartui.rc the problem disappears! I will submit the problematic file ASAP.

Note that I have a similar problem with Kontact where my icons also moves when switching from views (I mean: Summury <-> Mail <-> Contacts <-> Calendar ...)
Comment 11 Patrick ALLAERT 2006-06-20 09:43:42 UTC
Created attachment 16711 [details]
$KDEHOME/share/apps/katepart/katepartui.rc

This is the file which seems to cause the problem
Comment 12 Andreas Kling 2006-07-16 11:42:58 UTC
*** Bug 111569 has been marked as a duplicate of this bug. ***
Comment 13 Richard Fuller 2006-08-02 15:33:45 UTC
*** This bug has been confirmed by popular vote. ***
Comment 14 Richard Fuller 2006-08-02 15:42:41 UTC
I have this bug, kate 2.5.3, KDE 3.5.3. (It was present in KDE 3.4.2 too.) Happy to provide any information you need, but the basic steps to recreate:

- Create brand new user account and home directory
- Log in to KDE with it, accept all the defaults
- Start kate, go with the default session
- Settings > Configure Toolbars
- Select "Main Toolbar <KatePartView>" from the toolbar dropdown
- Choose Align, click the right arrow to add it, click OK
- Click the open icon, choose a file
- Keep repeating last step and observe the toolbar as it slowly destroys itself (icons move about, disappear, etc. until you're left with very few)

If you have a few documents open its sufficient to just switch between them rather than keep opening new files.
Comment 15 Jens Dagerbo 2007-01-09 01:45:47 UTC
See bug #118722.
Comment 16 nemo 2007-01-29 12:16:21 UTC
The work-around is to edit ~/.kde/share/apps/katepart/katepartui.rc such that all Actions and Separators in the main menu have a sensible Group property, such as that of the Action they are to appear next to.

The toolbar editor does not give new actions and separators a group property, which messes up toolbar merging.
Comment 17 Christoph Cullmann 2007-05-19 16:37:23 UTC
This is all a xmlgui problem...
Comment 18 Christoph Feck 2009-10-05 18:06:07 UTC

*** This bug has been marked as a duplicate of bug 64754 ***