Closed Bug 865086 Opened 11 years ago Closed 8 years ago

opening chat in minimized mode still sets the new chat as selected

Categories

(Firefox Graveyard :: SocialAPI, defect)

22 Branch
x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mixedpuppy, Unassigned)

Details

In fixing bug 864505 I discovered that we set new minimized chat windows as selected, see chatbar.openChat.  The fix is not entirely trivial as I think selectedChat==focusedChat, but maybe not, and minimized chats should never be selected.
(In reply to Shane Caraveo (:mixedpuppy) from comment #0)
> The fix is not entirely trivial as I think
> selectedChat==focusedChat, but maybe not, and minimized chats should never
> be selected.

Yeah, this is tricky.  IIUC, minimized chats will need to be focusable so that keyboard navigation can be used to act on one of them.  Also, if only minimized chats are open, it might make sense for one to be the "selected" chat, so the keyboard shortcut to "focus chats" does *something* sane.  But having a chat be focused when it isn't the selected chat doesn't make sense in the same way that having a chat be selected but not focused doesn't.

I wonder if we need to step back and see if selectedChat makes sense at all as a separate concept from "the focused chat"
deprecation in fx51
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.