Bug 125792 - [PATCH] Annoying switch in multiple chats in one chat window
Summary: [PATCH] Annoying switch in multiple chats in one chat window
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kopete
Classification: Unmaintained
Component: Chat Window (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 122606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-18 10:46 UTC by Heiko Schaefer
Modified: 2011-03-20 21:40 UTC (History)
2 users (show)

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


Attachments
Don't switch tabs while chatting (509 bytes, patch)
2006-04-22 14:49 UTC, Heiko Schaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Schaefer 2006-04-18 10:46:03 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    SuSE RPMs

If I have several chats in one chat window and the option "Open chat on new message" in the custom notifications and this contact writes a message, the tab is automatically changed to this person.
Sometimes I'm typing to the other contact and then a part of the typing is going to the wrong chat.

Is it possible if there are multiple chats open to avoid this behaviour?
I tried a lot of configuration option combinations, but to no avail.

My wish would be, that if the chat window is open, this annoying switch would not occur anymore.
Comment 1 Heiko Schaefer 2006-04-18 10:46:37 UTC
I use the most recent SVN version of Kopete.
Comment 2 Jan Ritzerfeld 2006-04-21 20:53:31 UTC
No solution, just for the records: The custom chat notification simply calls Kopete::MetaContact::execute(), that's exactly the same as clicking on a meta contact. This explains why the newly opened chat gets the focus and no configuration option will prevent it.
Comment 3 Heiko Schaefer 2006-04-22 10:51:09 UTC
What about an extra check in Contact::execute() if the contact is already openened in a tab in the chat window? If so, don't raise, only highlight the tab header.
Comment 4 Heiko Schaefer 2006-04-22 14:49:37 UTC
Created attachment 15740 [details]
Don't switch tabs while chatting

This tiny patch makes the chat window doesn't switch to another tab while
chatting, i.e. while the chat window is active and has the keyboard focus.
Please check and modify if neccessary.
Comment 5 Felix Eckhofer 2006-12-18 02:15:58 UTC
this is a duplicate of bug #122606
Comment 6 Bram Schoenmakers 2006-12-18 14:51:37 UTC
*** Bug 122606 has been marked as a duplicate of this bug. ***
Comment 7 Lamarque V. Souza 2011-03-17 23:18:34 UTC
Does this problem happen in KDE 4.6.1?