Closed Bug 955344 Opened 11 years ago Closed 6 years ago

Selected text in conversations should have same colours as in input box

Categories

(Instantbird Graveyard :: Conversation, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bugzilla, Unassigned)

Details

*** Original post on bio 1908 by Etienne Folio <ornthalas AT gmail.com> at 2013-03-23 22:48:00 UTC ***

When you select some text in a conversation, the selection is colored in gray (as it is only supposed to be when the conversation window is out of focus), not in blue (as a normal selection should be).

I guess this behaviour not only is not normal and might be involved in the bug #955343 (bio 1907)
Severity: major → minor
Hardware: x86 → All
Summary: Selected text color issue → Selected text in conversations should have same colours as in input box
*** Original post on bio 1908 at 2013-03-26 10:54:40 UTC ***

Confirming (for Windows at least).
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Original post on bio 1908 at 2013-03-26 13:11:39 UTC ***

Happens on all platforms (I tested on Mac and Quentin tested on Linux).
*** Original post on bio 1908 at 2013-04-07 19:26:08 UTC ***

Adding a CSS rule with

::-moz-selection {color: orange; background-color: yellow;}

in a new style tag in the head of the conversation content didn't have any effect. That's strange since in Firefox doing the same on any webpage works as expected. I used DOMi for that in both cases, to make sure the results are comparable.

I also tried a rule with :-moz-window-inactive to see if it's maybe thinking that the window is inactive all the time but that's also not the case.
*** Original post on bio 1908 at 2013-04-07 19:28:42 UTC ***

Of course I used "!important" on the attributes too.
*** Original post on bio 1908 at 2013-05-31 22:09:44 UTC ***

Just a reminder for next time I want to look into this:

This code in convbrowser.xml can force the window to act "active":
this.docShell
    .QueryInterface(Ci.nsIInterfaceRequestor)
    .getInterface(Ci.nsISelectionDisplay)
    .QueryInterface(Ci.nsISelectionController)
    .setDisplaySelection(Ci.nsISelectionController.SELECTION_ON);
On the behalf of Florian:
Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
On the behalf of Florian:
Closing bugs related to the Instantbird UI as WONTFIX, as the development of the standalone chat client Instantbird has stopped. Instantbird users are encouraged to migrate to Thunderbird. The user interface of instant messaging in Thunderbird will feel familiar, as the Thunderbird IM support started as a fork of Instantbird.
You need to log in before you can comment on or make changes to this bug.