Bug 371269 - No (obvious) way to end or restart a private conversation
Summary: No (obvious) way to end or restart a private conversation
Status: RESOLVED NOT A BUG
Alias: None
Product: kopete
Classification: Applications
Component: OTR Plugin (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 07:38 UTC by Tristan Miller
Modified: 2017-03-01 17:43 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of Kopete 1.10.1 showing no Tools menu (50.07 KB, image/png)
2016-11-03 20:24 UTC, Tristan Miller
Details
Screenshot of chat window showing instruction to end OTR session, but no toolbar (13.73 KB, image/png)
2017-03-01 17:00 UTC, Tristan Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2016-10-20 07:38:07 UTC
Possibly as a result of the fix to Bug 174606, when an OTR contact goes offline and reappears, attempting to send further messages to them results in the following error message in the chat window:

  #  somecontact@example.com has already closed his/her private connection to you. Your message was not sent. Either end your private conversation, or restart it.

This is probably the correct behaviour for Kopete.  However, there is no obvious way of complying with the suggestion.  How does one end or restart the private conversation?  I can't find these commands in any pull-down or context menu.  Comments in Bug 174606 refer to a "Tools->OTR Settings->End OTR Session" command, and to an "Chat Toolbar" with an OTR icon, though neither of these seem to exist in Kopete 1.6.60.

If there exists some way of ending or restarting a private conversation, it should be made more discoverable.  If not, this functionality should be added.

Reproducible: Always
Comment 1 Pali Rohár 2016-11-03 17:18:37 UTC
In Kopete 1.10.1 I see "Tools->OTR Settings->End OTR Session" option. I tested and both Start and End options are working correctly.

Please retest with last version of Kopete if problem is still there for you or not.
Comment 2 Tristan Miller 2016-11-03 20:08:28 UTC
OK, I'm testing Kopete 1.10.1 now. I've verified that the OTR plugin is enabled. I still don't see any Tools menu.  The only pull-down menus in the main Kopete window are File, Edit, Settings, and Help.  The individual chat windows have no pull-down menus.  Where am I supposed to be finding it?
Comment 3 Pali Rohár 2016-11-03 20:15:35 UTC
Looks very strange. Please provide screenshot, I really cannot believe that there is no Conversation or Format or Tools menu...

Also via Settings you should be able to configure toolbars and add here OTR icon (if you do not have it already).
Comment 4 Tristan Miller 2016-11-03 20:24:23 UTC
Created attachment 102015 [details]
Screenshot of Kopete 1.10.1 showing no Tools menu
Comment 5 Tristan Miller 2016-11-03 20:25:26 UTC
OK, I have attached a screenshot.  The Settings->Configure Toolbars dialog does not list any OTR-related actions.
Comment 6 Pali Rohár 2016-11-03 20:33:57 UTC
But not main window. Window in which you are writing conversation... Window where is your active OTR.
Comment 7 Tristan Miller 2016-11-14 10:07:53 UTC
I can't reproduce the problem in Kopete 1.10.1 because whenever I start an OTR conversation in that version, Kopete crashes.  I haven't had time to investigate further -- I may need to file a separate bug for the crash and then come back to this one later.
Comment 8 Tristan Miller 2016-11-14 10:08:48 UTC
Sorry, by "I can't reproduce the problem" in my last comment, I meant "I can't take a screenshot of an OTR chat window".
Comment 9 Pali Rohár 2016-11-22 00:17:41 UTC
In this case please report new bug with whole stack trace, so we can investigate it.
Comment 10 Tristan Miller 2017-03-01 17:00:22 UTC
Created attachment 104302 [details]
Screenshot of chat window showing instruction to end OTR session, but no toolbar

OK, I finally got around to upgrading my office computer, which now runs Kopete 1.10.1 (and doesn't crash on launching an OTR session).  Attached is a screenshot of a chat window.  My contact has just left the chat, and Kopete tells me to close the OTR session.  However, there's no obvious way of doing so -- no OTR toolbar or anything else.
Comment 11 Pali Rohár 2017-03-01 17:12:47 UTC
Seems to hide main menu in chat window. Press CTRL+M to toggle visibility of main menu. And then you should have Tools menu in main menu.
Comment 12 Tristan Miller 2017-03-01 17:32:03 UTC
Yes, Ctrl+M brings up a pull-down menu bar, and there are OTR commands listed.  I wonder why this menu wasn't displayed by default, though.  Is it like this for everyone?
Comment 13 Pali Rohár 2017-03-01 17:41:45 UTC
It is not by default and it is some (central?) default KDE settings. Also linux distributions provides their own defaults, so maybe this is reason...
Comment 14 Pali Rohár 2017-03-01 17:43:00 UTC
I will close this bug as invalid as buttons are there and their visibility is related to some KDE settings, not to Kopete.