From kfm-devel Wed May 31 00:37:21 2000 From: tibirna () kde ! org Date: Wed, 31 May 2000 00:37:21 +0000 To: kfm-devel Subject: Re: Bug#4287: wider bokkmarks menue X-MARC-Message: https://marc.info/?l=kfm-devel&m=95973350614224 On Tue, 30 May 2000, Ferdinand Gassauer wrote: > Package: khtml > Version: 3.0 (KDE 1.90 Beta >= 20000517) > Severity: wishlist > > Hi! > I suggest to make the bookmarks menue about 30-50 % wider, to get a better readable text. > * Why are the netscape bookmarks wider than then KDE bookmarks ??? > * can the width be set to the (but reasonable limited) maxium text length of the bookmark - instead of cutting out the middle of the text? > cu > ferdinand > Hello This "bug" is not in KHTML but in konqueror, more exactly in libkonq. The bookmark "squeezing" was introduced by me and David Faure long ago, in the times of KDE-1 glory. The reason was exactly that some web pages are setting insanely long page titles, so long that the bookmark menus would sometimes run out of screen estate too easily. Other web pages don't set a title at all, and then konqueror stores the URL, which, once again, can really be very long sometimes. The bookmark squeezing evolved meanwhiles, and quite recently somebody (sorry, brother, for having forgotten your name) added "clones" to this tiny function, that will ellipse a string at the beginning or at the end. Also, the length of the resulting squeezed string is configurable (at source code level, not in the KControl Center) Anyways, the function is considered a feature, not a bug. Nevertheless, feel free to experiment with different final sizes of the squeezed bookmark and come back to me with your findings. NOTE: the string-length-based squeezing isn't all-proof (imagine a desktop using a huge font, which would make bookmarks run out of screen even at lenghts of 40) but it's the simplest and most convenient solution. Thanks a lot for your interest. (I closed the bug report). Cristian Tibirna : ctibirna@total.net : www.total.net/~ctibirna PhD Student : ctibirna@gch.ulaval.ca : web.gch.ulaval.ca/~ctibirna KDE contact - Canada : tibirna@kde.org : www.kde.org