Ticket #1382 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Two MSG tabs from same contact

Reported by: sef@… Owned by: asterix
Priority: normal Milestone: 0.10
Component: chat Version: hg
Severity: normal Keywords:
Cc: Blocked By:
OS: Blocking:

Description

My notification settings: popup window with new event receive notifications when away/../.. in ACE all notify_* vars set to true [except for signin and signout]

After receiving new message from ICQ transport or PM in GC I get this TB [after clicking on notification box] and two msg tabs. First with incoming message, second with same text displayed as history. First of them is unusable and cannot be destroyed.

AttributeError: 'NoneType' object has no attribute 'set_control_active'
Traceback (most recent call last):
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/systray.py", line 345, in show_tooltip
    (widget.window.get_pointer()[0], size[1]), position)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 109, in show_tooltip
    self.populate(data)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 254, in populate
    chat_t = message_control.TYPE_GC
NameError: global name 'message_control' is not defined
Traceback (most recent call last):
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/systray.py", line 345, in show_tooltip
    (widget.window.get_pointer()[0], size[1]), position)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 109, in show_tooltip
    self.populate(data)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/tooltips.py", line 254, in populate
    chat_t = message_control.TYPE_GC
NameError: global name 'message_control' is not defined
Traceback (most recent call last):
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/dialogs.py", line 993, in on_popup_notification_window_button_press_event
    gajim.interface.roster.new_chat(contact, self.account)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/roster_window.py", line 1694, in new_chat
    mw.new_tab(chat_control)
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/message_window.py", line 145, in new_tab
    self.show_title()
  File "/mnt/fl/home/jura/Python/gajim/clean/gajim/src/message_window.py", line 191, in show_title
    if control.type_id == message_control.TYPE_GC:
AttributeError: 'NoneType' object has no attribute 'type_id'

Attachments

Change History

Changed 4 years ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.10

Add/Change #1382 (Two MSG tabs from same contact)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
Next status will be 'needinfo'
 
Note: See TracTickets for help on using tickets.