Bug 334989 - reuse already existing server connection
Summary: reuse already existing server connection
Status: RESOLVED WORKSFORME
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 12:45 UTC by Toralf Förster
Modified: 2014-05-18 20:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
konversationrc, passwords stripped (14.00 KB, application/octet-stream)
2014-05-18 19:25 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster 2014-05-18 12:45:45 UTC
Per default I do connect to irc.freenode.net to 4 channels of #gentoo.xyz after starting KOnversation.

If I click then in firefox onto a link like #cppcheck then KOnversation doesn't use the existing server connection (and therefore my already registered user name over SSL). Instead it opens a new tap to the same server and then ofc failed to use my preferred username.


Reproducible: Always



Expected Results:  
should re-use existings server.
Comment 1 Eike Hein 2014-05-18 17:23:26 UTC
Konversation already does this when it can determine that the host is related to a network that a connection is open to. Most likely the links you are clicking use the correct chat.freenode.net host, and you don't have that added to your Freenode network in the Server List dialog.
Comment 2 Toralf Förster 2014-05-18 18:00:43 UTC
Hhm, I had chat.freenode.net with port 7000 defined, the link at page http://cppcheck.sourceforge.net/ points to irc://irc.freenode.net/.

I added irc.freenode.net to the server list (with port 7000 and SSL endabled). If I click now at the link, then the Konversation window will be brought onto top of all windows but nothing else happens.

If I close Konversation and click onto the link, then Konversation will be started and I'm logged in with my registered nickname into the predefined channels, but not in addition into the channel #cppcheck.

I activated debug messages but nothing suspicious was logged.
Comment 3 Toralf Förster 2014-05-18 18:01:19 UTC
FWIW I'm running KDE 4.11.9+4.13.1
Comment 4 Eike Hein 2014-05-18 18:05:05 UTC
Could you please open your konversationrc file, and copy the following things from it to the bug ticket:

- The [ServerGroup #] group for Freenode and all of its key-value pairs.
- The [Server #] groups referenced by the above, and all of their key-value pairs.

Please take care to remove possible passwords first, in Password= or ConnectCommands= keys.
Comment 5 Toralf Förster 2014-05-18 19:25:10 UTC
Created attachment 86693 [details]
konversationrc, passwords stripped
Comment 6 argonel 2014-05-18 19:59:07 UTC
The link on http://cppcheck.sourceforge.net/ to #cppheck is <a href="irc://
irc.freenode.net/">#cppcheck</a>. If this is the link you are testing with,
it will never join the channel.


On Sun, May 18, 2014 at 3:25 PM, Toralf Förster <toralf.foerster@gmx.de>wrote:

> https://bugs.kde.org/show_bug.cgi?id=334989
>
> --- Comment #5 from Toralf Förster <toralf.foerster@gmx.de> ---
> Created attachment 86693 [details]
>   --> https://bugs.kde.org/attachment.cgi?id=86693&action=edit
> konversationrc, passwords stripped
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
> _______________________________________________
> Konversation-devel mailing list
> Konversation-devel@kde.org
> https://mail.kde.org/mailman/listinfo/konversation-devel
>
Comment 7 Toralf Förster 2014-05-18 20:14:40 UTC
(In reply to comment #6)
> The link on http://cppcheck.sourceforge.net/ to #cppheck is <a href="irc://
> irc.freenode.net/">#cppcheck</a>. If this is the link you are testing with,
> it will never join the channel.
Gah - I'd not expect that - ok, invalid bug then.
Comment 8 Eike Hein 2014-05-18 20:28:38 UTC
Thanks Eli :)

FWIW, the correct URL would be irc://chat.freenode.net/cppcheck
Comment 9 Toralf Förster 2014-05-18 20:35:31 UTC
(In reply to comment #8)
> Thanks Eli :)
> 
> FWIW, the correct URL would be irc://chat.freenode.net/cppcheck

yep, I already complaint about that in #cppcheck - the issue will be corrected at the page
Again, sry for the noise.
Comment 10 Eike Hein 2014-05-18 20:38:44 UTC
No worries.