Bug 86113 - Document Relations toolbar appears many times in Settings->Toolbars
Summary: Document Relations toolbar appears many times in Settings->Toolbars
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: rellinks (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR normal
Target Milestone: ---
Assignee: Kevin Krammer
URL:
Keywords:
: 91748 91991 94331 94814 95760 95894 96990 104906 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-27 20:30 UTC by Bruce Duncan
Modified: 2006-10-18 10:15 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of the issue (71.29 KB, image/png)
2004-08-03 00:09 UTC, Malte S. Stretz
Details
an example of the ugly konqueror with rellinks (144.73 KB, image/png)
2004-11-11 11:00 UTC, Giovanni Venturi
Details
an example of the ugly konqueror with rellinks (144.73 KB, image/png)
2004-11-11 11:01 UTC, Giovanni Venturi
Details
another hefty example (437.30 KB, image/png)
2004-12-01 13:09 UTC, olgar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Duncan 2004-07-27 20:30:44 UTC
Version:            (using KDE KDE 3.2.92)
Installed from:    Slackware Packages
Compiler:          Unofficial slack-10.0 packages by Jean-Christophe Fargette : kde@fargette.com 
OS:                Linux

One Document Relations toolbar appears if one or many options are ticked here. There are approximately 68 menu options labelled "Document Relations (Konqueror)" under Settings -> Toolbars.

Sorry I can't provide any info on how to reproduce this. I upgraded from official slack packages to Jean-Christophe Fargette's unofficial ones.
Comment 1 Malte S. Stretz 2004-08-03 00:09:53 UTC
Created attachment 6971 [details]
screenshot of the issue

I'm neither sure how to reproduce this, the screenshot was produced by calling
"kfmclient openProfile webbrowsing" at the konsole several times, closing the
window after each call. With one instance preloaded but a whole bunch already
running.
Comment 2 Malte S. Stretz 2004-08-03 00:15:54 UTC
*grrr* I was too quick again. This seems to be related to bug 84966.
Comment 3 Oliver Zimmermann 2004-08-17 01:33:53 UTC
Same here: "Document Relations" appeared 100x (or more) under Settings->Tool Bar. After clicking one of them, konqueror crashed. The backtrace is:

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1095464128 (LWP 5713)]
[KCrash handler]
#7  0x40eb1a69 in QString::QString () from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x4079c41b in KIconEffect::fingerprint ()
   from /opt/kde3/lib/libkdecore.so.4
#9  0x407df003 in KIconLoader::loadIcon () from /opt/kde3/lib/libkdecore.so.4
#10 0x407e039a in KIconFactory::createPixmap ()
   from /opt/kde3/lib/libkdecore.so.4
#11 0x40ba9505 in QIconSetPrivate::icon () from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40ba9987 in QIconSet::pixmap () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40543b25 in KToolBarButton::drawButton ()
   from /opt/kde3/lib/libkdeui.so.4
#14 0x40c72375 in QButton::paintEvent () from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x0a196468 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0xffffffff in ?? ()
#19 0xffffffff in ?? ()
#20 0x00000003 in ?? ()
#21 0x41042f34 in __JCR_LIST__ () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x0840c360 in ?? ()
#23 0x00000000 in ?? ()
#24 0x00000000 in ?? ()
#25 0x0000001c in ?? ()
#26 0x0000001b in ?? ()
#27 0x00000003 in ?? ()
#28 0x00000300 in ?? ()
#29 0x0a196468 in ?? ()
#30 0x00000000 in ?? ()
#31 0x084e9590 in ?? ()
#32 0xbfffdf38 in ?? ()
#33 0x40bdd9c0 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
Comment 4 Dimitrios Zachariadis 2004-09-06 13:50:37 UTC
Same here.

KDE Version
3.3 (KDE 3.3.0, SuSE)
Application
Web Browser/File Manager
Operating System
Linux (i686) release 2.6.4-52-smp
Compiler
gcc version 3.3.3 (SuSE Linux)


Document Relations (Konqueror) toolbar cannot be deselected. It comes back with every new tab opened.

The instances listed in "Settings->Toolbars" are as many as the tabs opened.

Comment 5 Benjamin Traut 2004-10-14 20:41:19 UTC
I just updated to KDE 3.3.1 and found the following behaviour: Go to www.kde.org, middle-klick on some (at least two) dot.kde.org-articles and enjoy several rellinks-menubars.
Comment 6 Bonnaud Frédéric 2004-10-16 11:08:50 UTC
This screenshot : http://linuxichien.org/rellinks-bug.png
is obtained in switching from 2 tabs (freshmeat.net and lea-linux.org/pho/?15) with kde 3.3.1 and rellinks activate "only when needed". I hope it could help.
Comment 7 Waldo Bastian 2004-10-27 12:48:47 UTC
*** Bug 91748 has been marked as a duplicate of this bug. ***
Comment 8 Waldo Bastian 2004-10-27 12:51:24 UTC
*** Bug 91991 has been marked as a duplicate of this bug. ***
Comment 9 Ron Onstenk 2004-11-03 19:36:51 UTC
Is there a way to switch this Document relation bars complete?
I did try it once and after it konqeror crashes frequently durring
opening the url the first time out of KMail i.e.
The second try it goes OK. It seems related to fresh starts because it
also happens in konqueror with 'Open in new Window' :(
Can a remove of a file for this good but bad working addon help?
If so which one?

TIA
 

Comment 10 Giovanni Venturi 2004-11-11 11:00:34 UTC
Created attachment 8242 [details]
an example of the ugly konqueror with rellinks
Comment 11 Giovanni Venturi 2004-11-11 11:01:19 UTC
Created attachment 8243 [details]
an example of the ugly konqueror with rellinks
Comment 12 Giovanni Venturi 2004-11-11 11:03:28 UTC
This happens also to me on Fedora Core 2 with KDE compiled on my own from CVS 3_3_BRANCH and also with Slackware-current compiling always from 3_3_BRANCH CVS.
Comment 13 Ron Onstenk 2004-11-11 11:17:19 UTC
I have for the moment the librellinksplugin.la -.so moved out the directory.
The problem is of course gone with the the good part of it.

A major point is that now konqueror for feeling start more
quick and less crashes after my update to KDE 3.3.1
The crashes started at my box after the upgrade from 3.2 to 3.3
Had hope it was solved with 3.3 to 3.3.1 but bad luck.
Comment 14 Ron Onstenk 2004-11-11 11:24:50 UTC
One note, if in the page a line like
<link rel="stylesheet" type="plain/text" src="default.css">
it looks to me it also creates a bar, however I'm unsure it 
always is done. Can this be a miss place usage of the rel attribute?


Comment 15 olgar 2004-12-01 13:09:41 UTC
Created attachment 8508 [details]
another hefty example

another hefty example of konqueror being almost unusable due to the amount of
document relation bars showing up
Comment 16 Stephan Kulow 2004-12-06 11:10:48 UTC
*** Bug 94331 has been marked as a duplicate of this bug. ***
Comment 17 Maksim Orlovich 2004-12-10 16:34:25 UTC
*** Bug 94814 has been marked as a duplicate of this bug. ***
Comment 18 Ralph von der Heyden 2004-12-11 12:25:30 UTC
I've experienced the following behavior in kde-3.3.2 using Gentoo ebuilds:

Starting with my existant ~/.kde3.3 dir it seems that konqueror is adding one document relations toolbar in Settings->Toolbars for every tab you open. These bars are kept even if you close the tabs again.

More annoying, if you start kde-3.3.2 with a blank ~/.kde3.3 dir each of these bars is automatically shown, without the possibility to switch them off altogether.

To reproduce this, log out, rename your ~/.kde3.3 to something else, and log in again. Change konqueror settings to open links in tabs instead of new windows. Go to osnews.com and open some links by middle-klicking them. In the newly opened tabs you will see one document relations toolbar for every tab you opened. These toolbars stay even if you close the tabs.

The only thing that helps is logout+login.
Comment 19 Kanwar Plaha 2004-12-14 00:15:16 UTC
What is document relations and why should it be on by default?
Comment 20 samuel 2004-12-14 01:57:28 UTC
this bug is part of the kdeaddons package and appears by building and installing kdeaddons-3.3.2 (w/ a kde-3.3.2 install). It is also resolved by a 'make uninstall' for kdeaddons-3.3.2


(restart konqueror afterwards)

The bug seems to be located in the rellinks plug-in for konqueror
(kdeaddons-3.3.2/konq-plugins/rellinks)
Comment 21 oliver_stieber 2004-12-14 03:03:06 UTC
 --- Kanwar Plaha <Kanwar.Plaha@gmail.com> wrote: 
> ------- You are receiving this mail because: -------
> You are a voter for the bug, or are watching someone
> who is.
>         
> http://bugs.kde.org/show_bug.cgi?id=86113        
> 

It's a toolbar that helps you navigate related web
pages.

Document relations are defined using link tags in the
head of an HTML page.  

e.g. slashdot stories have the relation

<LINK REL="parent"    TITLE="Index"
HREF="//slashdot.org/">

to tell the browser where to find the parent page of
the story.

Other relations include first page, previous page,
next page, last page.


It's very handy if your browsing online manual etc..



		
___________________________________________________________ 
Win a castle for NYE with your mates and Yahoo! Messenger 
http://uk.messenger.yahoo.com

Comment 22 oliver_stieber 2004-12-14 03:03:06 UTC
 --- Kanwar Plaha <Kanwar.Plaha@gmail.com> wrote: 
> ------- You are receiving this mail because: -------
> You are a voter for the bug, or are watching someone
> who is.
>         
> http://bugs.kde.org/show_bug.cgi?id=86113        
> 

It's a toolbar that helps you navigate related web
pages.

Document relations are defined using link tags in the
head of an HTML page.  

e.g. slashdot stories have the relation

<LINK REL="parent"    TITLE="Index"
HREF="//slashdot.org/">

to tell the browser where to find the parent page of
the story.

Other relations include first page, previous page,
next page, last page.


It's very handy if your browsing online manual etc..



		
___________________________________________________________ 
Win a castle for NYE with your mates and Yahoo! Messenger 
http://uk.messenger.yahoo.com

Comment 23 Rafael J. Wysocki 2004-12-14 12:58:20 UTC
On my box (SuSE 9.1) a workaround for it is to remove the file /opt/kde3/share/apps/khtml/kpartplugins/plugin_rellinks.rc
Comment 24 Rudo Thomas 2004-12-14 13:55:28 UTC
> On my box (SuSE 9.1) a workaround for it is to remove the file
> /opt/kde3/share/apps/khtml/kpartplugins/plugin_rellinks.rc

That is not a workaround. Removing the file "disables" document
relations plugin altogether, which is not what one wants. Similar
"workaround" appeared here a few days ago - uninstalling kdeaddons.

AFAIK, the bug only happens when Document Relations -> Configure is set
to Always (and maybe "When Necessary"). When you set it to "Never", you
can still use it from the Tools menu. Disabling it altogether is not
needed at all.

Rudo.

Comment 25 Jens Herden 2004-12-14 14:08:11 UTC
>
> AFAIK, the bug only happens when Document Relations -> Configure is set
> to Always (and maybe "When Necessary"). When you set it to "Never", you
> can still use it from the Tools menu. Disabling it altogether is not
> needed at all.

In my system it is set to never and I get the unwanted toolbars :-(

Jens

Comment 26 Rafael J. Wysocki 2004-12-14 14:24:17 UTC
Referring to Comment #24:

Yes, it is.  As described in the Bug 94814, the Document Relations toolbar(s) appear(s) always if you open a link in a new tab, even if it's set to "Never" in Document Relations -> Configure (which is _the_ _real_ bug, IMO).

Comment 27 oliver_stieber 2004-12-14 18:56:39 UTC
What's the progress on this? is anyone looking at fixing it?

I can have a stab at fixing this problem, but don't have the time for after hours care at the moment.
Comment 28 samuel 2004-12-15 16:23:48 UTC
I believe the problem is w/ setting the mode index in RelLinksPlugin::updateToolbar(), but then again it may be bool showBar, I haven't had much more than a glance at the code.  I've been rather busy, but I should have more time to work on it today, perhaps tomorrow.

Oh and btw. Great workaround from Rafael J. Wysocki.
People like Rafael are what make Open Source so powerful.

And for those of you who have forgotten...

Jargon File (4.3.0, 30 APR 2001) [jargon]


workaround n. 1. A temporary kluge used to bypass, mask, or otherwise
   avoid a bug or misfeature in some system. Theoretically, workarounds
   are always replaced by fixes; in practice, customers often find
   themselves living with workarounds for long periods of time. "The code
   died on NUL characters in the input, so I fixed it to interpret them as
   spaces." "That's not a fix, that's a workaround!" 2. A procedure to be
   employed by the user in order to do what some currently non-working
   feature should do. Hypothetical example: "Using META-F7 crashes the
   4.43 build of Weemax, but as a workaround you can type CTRL-R, then
   SHIFT-F5, and delete the remaining cruft by hand."





 The Free On-line Dictionary of Computing (27 SEP 03) [foldoc]


workaround
     
        <jargon, programming> A temporary kluge used to bypass, mask
        or otherwise avoid a bug or misfeature in some system.
        Customers often find themselves living with workarounds for
        long periods of time rather than getting a bug fix.
     
        [Jargon File]
     
        (1998-06-25)
     
Comment 29 Dennis Veatch 2004-12-20 19:49:19 UTC
This isn't confined to just Slackware. It also happens when KDE is compiled from source. Even having it set to "Never" has no effect, the toolbar still shows up and accumulates. And man is this annoying. I don't think not installing kdeaddons or uninstalling is the right answer and certainly hope this will be corrected.
Comment 30 oliver_stieber 2004-12-20 21:45:36 UTC
I cleaned out the document relations bar to stop it
annoying me, but have 'accidentally' re-installed it
and it's working fine.

Very strange.


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

Comment 31 Olivier Goffart 2004-12-23 21:32:05 UTC
CVS commit by ogoffart: 

Remove the configuration menu, and port the toolbar to KXMLGUI.

It's not anymore possible to have the toolbar appears "when necessary" which cosed too many bugs.

cf: http://lists.kde.org/?l=kfm-devel&m=110339587428621&w=2

BUG: 86113
BUG: 84345


  M +3 -105    plugin_rellinks.cpp   1.37
  M +1 -21     plugin_rellinks.h   1.19
  M +20 -3     plugin_rellinks.rc   1.4



Comment 32 Maksim Orlovich 2004-12-24 04:11:45 UTC
*** Bug 95760 has been marked as a duplicate of this bug. ***
Comment 33 Giovanni Venturi 2004-12-24 16:02:37 UTC
Can you backport to KDE 3.3 BRANCH? Thank you from now.
Comment 34 Maksim Orlovich 2004-12-27 22:40:33 UTC
*** Bug 95894 has been marked as a duplicate of this bug. ***
Comment 35 wbartl1 2004-12-31 16:37:37 UTC
I was just trying Konqueror as a web browser for the first time,
and what can I say but "what a nightmare" with this toolbar multiplying
like crazy on the left side of the window. And who needs this "feature"
anyway -- I lived without it up to now.

I will try removing kdeaddons, since that seems to be the only solution.
Comment 36 R. Samir 2005-01-02 23:25:34 UTC
on my Gentoo Box too, i got this mess :(

Well, i had recompiled kdebase for it, but nothing, so i did what have been adviced then i uninstalled kdeaddons and it works fine now for me.

it's not a resolving , but better than nothing :)

i hope kdeaddons will be fixed.
Comment 37 Robert Cabane 2005-01-03 22:00:27 UTC
Document relations come from Netscape/Mozilla, where they're called 'Navigation toolbar'. They're quite handy with certain documentary websites, allowing you to quickly find the index, table of contents, author, copyright, first & last page, and so on. I can't find them in FireFox, a pity.
Please fix it, don't suppress !
Comment 38 Maksim Orlovich 2005-01-14 16:59:13 UTC
*** Bug 96990 has been marked as a duplicate of this bug. ***
Comment 39 asnane 2005-03-16 19:11:42 UTC
i have many document relations tab too!

please solve this problem!
Comment 40 Terry James 2005-03-16 23:48:22 UTC
It's getting worse.  bugs.kde.org is offline celebrating the 3.4 release, so 
theire site says, so I can't get to it.

They gave me a really hard time for critisizing their handling of bug reports.  
The developers have taken the route of marking all their problems "resolved."  
When I brought that up, they got defensive and basically deleted my account!

Nice bunch of guys.

I just disabled the thing; haven't had any problems with it since.  KDE 
configure, somewhere, just don't check any doc relations bars.

I get hundreds of KDE crashes; yet, they say it works.

I am working on the basic problems behind KDE, the use of Qt, which depends on 
X, no matter what they're saying, X, and other basic stuff.  Building my own 
stuff, to speed things up.  It takes time though.  This project will take at 
least two years.

But when I'm done, they'll have to get a license from me, hehehe.

Ciao.



On Wednesday 16 March 2005 01:11 pm, asnane wrote:
[bugs.kde.org quoted mail]
Comment 41 Adrien Beau 2005-03-25 19:32:23 UTC
Thanks to Ron Onstenk for the workaround, it works very well. It stabilized Konqueror quite a lot, too, I'm happy again with KDE 3.3.x. (I recently upgraded from 3.2.x, and was appalled by the decrease in stability -- mostly due to this plugin it seems.)

I hope future versions of KDE will include a proper fix, because while I seldom use document relations, they are quite handy on some sites (and would become more so if they were implemented equally well in all browsers).

To Terry James: I don't think this is the proper place to vent your frustration.
Comment 42 Maksim Orlovich 2005-05-01 17:20:17 UTC
*** Bug 104906 has been marked as a duplicate of this bug. ***
Comment 43 Terry James 2006-10-18 10:15:06 UTC
For the founder of KDE, who once saw fit to ban my account: you didn't know who I am:  http://www.musics.com/Artists/TerryJames/Images/1980.Terry.James.Burroughs.Corporation.Assistant.to.the.Senior.Design.Project.Engineer.B7800.B7900.MODIII.Project.Tredyffrin.Paoli.PA.Swedesford.Road.B7900_50.8x12.GIF

I was designing machines long before KDE came along; I know what I'm talking about, there is no questioning this.

In fact, I predate all of Unix, Linux, and delivered that machien to Tim Berners-Lee while he was working at CERN.

Next time, try to show some common courtesy and some respect for the people who created your job and career.

Terry James