Bug 90431 - Toolbar looses icons when changing files
Summary: Toolbar looses icons when changing files
Status: RESOLVED DUPLICATE of bug 64754
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 3.3
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-28 21:53 UTC by Bobby
Modified: 2011-07-26 13:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bobby 2004-09-28 21:53:32 UTC
Version:           2.3 (using KDE 3.3.0-2.2.1.kde, Fedora Core release 1 (Yarrow))
Compiler:          gcc version 3.3.2 20040108 (Red Hat Linux 3.3.2-6)
OS:                Linux (i686) release 2.4.22-1.2197.nptl

This bug is identical to bug# 56229 which was closed over a year ago. 

Basically when I have multiple files open in Kate and I select a different file then currently selected one I loose one icon.  This happens every time I select a different file.  This action continues until I only have 6 or so icons left (basically the "Main Toolbar <kate>" icons and the Spell Check icon.)  Icons return when I restart Kate or if I Settings->Configure Toolbars and apply some change.

A couple of side notes, I am currently running rpms from http://kde-redhat.sourceforge.net/ for Fedora Core 1 of KDE 3.3.0.  Also if I open a new file (in the file selection sidebar or dialog box) icons do not disappear.  The icons only disappear when I select an already open file in the "Files" sidebar menu.

Here is my katerc file for reproduction:
[General]
Days Meta Infos=30
DefaultGUIMode=4
Modified Notification=true
Number of recent files=10
Restore Documents=true
Restore Projects=true
Restore Window Configuration=true
Save Meta Infos=true
Show Console=false
Show Full Path in Title=true
Sync Konsole=true

[GrepTool]
CaseSensitive=true
LastSearchItems=select_authkeycode_from_swp_authkey,sub sort_,sub sort,function sort_check,sort,Dec,insert_check_information_into_check,=~ s/,~= s/,s/
LastSearchPaths=/home/brockers/docs/redhat/SPECS,/home/brockers/docs/cvs/swpapp/lib/SQL,/home/brockers/docs/src/gift/giFT-FastTrack-0.8.6/,/home/brockers/docs/redhat/SPECS/,/home/brockers/docs/cvs/swpapp,/home/brockers/docs/cvs/swpapp/lib,/home/brockers/docs/cvs/swpapp/cgi,/home/brockers/docs/cvs/swpapp/
Recursive=true
Regex=true

[KDE]
MultipleInstances=false

[KFileDialog Settings]
Automatic Preview=true
Autoplay sounds=true
ColumnOrder=0,1,2,3,4,5
ColumnWidths=353,85,132,125,84,81
Preview Size=60
Recent Files=$HOME/.kde/share/config/katerc,$HOME/docs/cvs/swpapp/cgi/print_daily.cgi,$HOME/docs/cvs/logquery/webfront/dps_logquery.cgi,/usr/lib/perl5/5.8.3/Time/Local.pm,$HOME/docs/programs/logquery/README,$HOME/docs/programs/logquery/AUTHORS,$HOME/docs/programs/logparser/logparser.pl,$HOME/docs/cvs/swpapp/cgi/print_check.cgi,/usr/share/apps/katepart/syntax/perl.xml,$HOME/docs/redhat/SPECS/kompose.spec,$HOME/docs/cvs/dpsnds/dpsnds.pl,$HOME/docs/cvs/swpapp/cgi/admin_account.cgi,$HOME/Desktop/fonts.txt,$HOME/docs/cvs/swpapp/lib/SQL/CASH.pm,$HOME/docs/cvs/swpapp/lib/SQL/PAYMENT.pm,$HOME/docs/cvs/swpapp/lib/SQL/NOTARY.pm
ShowPreviews=false
SortAscending=true
SortColumn=0
ViewMode=SmallColumns

[KFileDialog Speedbar]
Description_0=Documents
IconGroup_0=4
Icon_0=folder_man
Number of Entries=1
Speedbar IconSize=32
URL_0=file:$HOME/docs/

[KPrinter Settings]
ApplicationOptions=app-kate-boxcolor,#000000,app-kate-boxmargin,6,app-kate-boxwidth,1,app-kate-colorscheme,kate - Printing,app-kate-footerbg,#d3d3d3,app-kate-footerfg,#000000,app-kate-footerformat,||%U,app-kate-footerusebg,true,app-kate-headerbg,#d3d3d3,app-kate-headerfg,#000000,app-kate-headerformat,%y|%f|%p,app-kate-headerusebg,true,app-kate-hffont,,app-kate-printguide,false,app-kate-printlinenumbers,false,app-kate-printselection,false,app-kate-usebackground,false,app-kate-usebox,false,app-kate-usefooter,true,app-kate-useheader,true
DialogReduced=false
PrintCommand=
Printer=DPS_Q1

[Kate Document Defaults]
Backup Config Flags=1
Backup Prefix=/home/brockers/
Backup Suffix=~
Basic Config Flags=11042849
Encoding=UTF-8
End of Line=0
Indentation Mode=0
Indentation Width=2
KTextEditor Plugin ktexteditor_autobookmarker=false
KTextEditor Plugin ktexteditor_docwordcompletion=false
KTextEditor Plugin ktexteditor_insertfile=false
KTextEditor Plugin ktexteditor_isearch=false
KTextEditor Plugin ktexteditor_kdatatool=false
Maximal Loaded Blocks=16
PageUp/PageDown Moves Cursor=false
Tab Width=8
Undo Steps=0
Word Wrap=false
Word Wrap Column=80

[Kate Main Window]
Height 1024=919
Height 1200=984
Width 1280=1201
Width 1600=1399
Width 2304=1201

[Kate Main Window Toolbar KMdiTaskBar]
Hidden=true
IconText=IconOnly
Index=0
NewLine=true
Offset=-1

[Kate Main Window Toolbar mainToolBar]
Index=1

[Kate Plugins]
katecppsymbolviewerplugin=false
katefll_plugin=true
katehtmltoolsplugin=false
kateinsertcommandplugin=true
katemodelineplugin=false
kateopenheaderplugin=false
katepybrowseplugin=false
katetextfilterplugin=true
katexmlcheckplugin=false
katexmltoolsplugin=false
libkatetabbarextensionplugin=false

[Kate Renderer Defaults]
Schema=kate - Normal
Word Wrap Marker=false

[Kate View Defaults]
Auto Center Lines=0
Bookmark Menu Sorting=0
Command Line=false
Default Mark Type=1
Dynamic Word Wrap=false
Dynamic Word Wrap Align Indent=80
Dynamic Word Wrap Indicators=1
Folding Bar=true
Icon Bar=false
Line Numbers=true
Scroll Bar Marks=false
Search Config Flags=256
Text To Search Mode=2

[Recent Files]
File1=file:$HOME/docs/cvs/swpapp/cgi/print_worksheet.cgi
File10=file:$HOME/docs/cvs/swpapp/lib/Forms.pm
File2=file:$HOME/docs/cvs/swpapp/lib/Reports.pm
File3=file:/var/tmp/kdecache-brockers/krun/16508.0.README
File4=file:$HOME/docs/files/uplink/readme.txt
File5=file:$HOME/docs/files/moho/Readme
File6=file:$HOME/docs/cvs/swpapp/lib/Encrypt.pm
File7=file:/mnt/floppy/syslinux.cfg
File8=file:$HOME/docs/cvs/logquery/README
File9=file:$HOME/docs/cvs/logquery/Wild.pm

[Shortcuts]
externaltool_CompareCurrentDocumenttoCVS=Shift+F11
externaltool_RunScript=Ctrl+Shift+X

[TipOfDay]
TipLastShown=2004,9,27,13,52,20

[fileselector]
AutoSyncEvents=0
Sort Type of File List=0
current filter=
dir history=$HOME/docs/redhat/SPECS/,$HOME/docs/cvs/swpapp/lib/,$HOME/docs/cvs/swpapp/cgi/,$HOME/docs/cvs/swpapp/lib/SQL/,$HOME/docs/cvs/swpapp/,$HOME/docs/cvs/,/var/www/cgi-bin/,$HOME/docs/cvs/swpapp/CVS/,$HOME/docs/cvs/swpapp/conf/
filter history=*~,*~```````,R,R*
filter history len=9
last filter=*~
location=$HOME/docs/cvs/swpapp/cgi/
pathcombo history len=9
restore last filter=true
restore location=true
toolbar actions=up,back,forward,home,bookmarks

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

[fileselector:view]
ColumnOrder=0,1,2,3,4,5
ColumnWidths=53,43,47,91,57,55
Preview Size=60
ShowPreviews=false
SortAscending=true
SortColumn=0
ViewMode=SmallColumns
Comment 1 Anders Lund 2004-10-10 23:24:35 UTC
I'm not able to reproduce this using cvs HEAD.
Comment 2 Christoph Cullmann 2004-10-26 00:10:09 UTC
k, than close it
Comment 3 Nicholas Pilon 2004-12-06 03:33:54 UTC
I have this problem with KDE 3.3.1. Was this released after the abovementioned version of kate or not? (cvs HEAD from October 10th)
Comment 4 Anders Lund 2004-12-06 12:56:00 UTC
On Monday 06 December 2004 03:33, Nicholas Pilon wrote:
> I have this problem with KDE 3.3.1. Was this released after the
> abovementioned version of kate or not? (cvs HEAD from October 10th)

HEAD is allways newer than any nreleased version (if the users build if it is 
up to date). For release versions, higher numbers means newer.

Comment 5 Nicholas Pilon 2004-12-06 15:37:07 UTC
I know that. I was wondering if that HEAD version was before or after KDE 3.3.1 got tagged.
Comment 6 Bobby 2004-12-06 17:50:26 UTC
Still have the bug here (on both 3.3.1 and cvs head.)  After messing with it on a couple machines it looks like I only loose the toolbar icons when I have manually addded a button that was not originally there to one of the toolbars.  In my case the Spellcheck icon to the "Main Toolbar" (aka KatePartView.)

Bobby
Comment 7 Nicholas Pilon 2004-12-06 17:55:11 UTC
I've also got custom toolbars and, in fact, first observed the bug (back with KDE 2.soemthing) after customizing my kate toolbars.

Bobby, I think you need to re-open this bug.
Comment 8 Bobby 2004-12-06 21:48:37 UTC
Re-opening bug now that it is actually verified.  Christoph points out it may be a kdeui bug.
Comment 9 Christoph Cullmann 2005-04-02 15:40:46 UTC
this is really a kdelibs bug if that occur, xmlgui seem to mess that up or whatever, not that sure :(
Comment 10 Jose Saucedo 2005-06-28 17:51:53 UTC
Hi, perhaps some light: The toolbar seems to recover the icons if you do include any other icons or simply change the position of any of those already present, it also seems to have some "memory", for it keeps the icons just for the text shown, it is, you have many files open, change to any of them, and indeed, they dissapear, but go back to the file where you added/moved the icons, and they do appear again, as if the icon set were different for every file, and not something general.
Comment 11 Bobby 2006-07-20 00:19:50 UTC
I can re-confirm this bug on kde 3.52. using kate 2.5.2.  Its fairly simple to reproduce.  Add the spell check button to the kate toolbar.  Then open a couple dozen documents.  The click on the close button (from the toolbar) closing your documents on at a time.... toolbar icons dissappear. 

Icons return when kate is restarted.

Bobby
Comment 12 Lawrence R. Steeger 2007-12-15 19:12:08 UTC
I have the same problem. It only happens when I Configure the Toolbars. It is consistently repeatable.  I added 3 actions to the Main Toolbar KatePartView. As soon as I did that, strange Toolbar behaviors began. The most annoying and definitely repeatable was the disappearance/rearrangement of application icons. For example, I'd click a tab on the Tab Extension Toolbar, and the New icon would disappear. Then I'd click again, the Open would reappear, but another icon was gone. Eventually icons just disappeared. The Main Toolbar would get shorter and shorter. Stopping and starting Kate would restore the Toolbars. Going back to the default Toolbars would prevent this strange behavior.

Kate 2.5.7 and KDE 3.5.7 OpenSuSE.
Comment 13 Christoph Feck 2011-07-26 13:34:20 UTC

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