threema-ch / threema-web

The Threema Web application.
GNU Affero General Public License v3.0
998 stars 107 forks source link

Settings menu closes on any status change #152

Open Elsensee opened 7 years ago

Elsensee commented 7 years ago

Expected Behavior

The menu that can be opened by clicking on the three dots should stay open until you manually close it by clicking away or selecting something.

Current Behavior

The menu closes itself whenever a status change happened, such as a message was received by the recipient, a message was read by the recipient (both meaning the other party) which makes the UX worse.

Steps to Reproduce (for bugs)

  1. Send a message
  2. Open the "three-dot-menu"
  3. Wait until the message is receieved or read by the other party.
  4. The menu closes itself magically!

Your Environment

IndianaDschones commented 7 years ago

I did some research:

Open the menu and follow these steps:

  1. Inside var SecureDataChannel = function () { set a breakpoint at _this.unchunker.add(event.data, event);
  2. Receive a message
  3. Click Resume script execution (Chrome) three times
  4. Click Step over next function call. The menu closes.

Maybe that helps resolving the issue.

Elsensee commented 7 years ago

More information: The menu only closes on a new message, when the chat with that specific person is currently open.