Bug 1810724 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Some changes around the same code done in bug 1766636 (making the grouping more logical after we started grouping private windows separately). But, DevTools was grouped the same as regular Firefox before those changes.

Some notes from Ben Hearsum on Slack:

> This should be possible, as it's controlled by AUMID. You can set this fairly simply with code like https://searchfox.org/mozilla-central/rev/a8187e40b492dff78e3d3225e652cc06f447484b/widget/windows/WinTaskbar.cpp#63, but the tricky part is that you need to set it before first paint to avoid the window moving between groups. We handle that for private windows around here, and you do the same for devtools if there's something in the nsWindow that you can use to identify a devtools window. If you happen to have a window that hasn't been painted yet, we have a helper function that will set whatever aumid you want (we use this to handle the initial window at startup, but I don't know if it will be applicable in your situation). I'm happy to help more if I can be useful.
Some changes around the same code done in bug 1766636 (making the grouping more logical after we started grouping private windows separately). But, DevTools was grouped the same as regular Firefox before those changes.

Some notes from Ben Hearsum on Slack:

> This should be possible, as it's controlled by AUMID. You can set this fairly simply with code like https://searchfox.org/mozilla-central/rev/a8187e40b492dff78e3d3225e652cc06f447484b/widget/windows/WinTaskbar.cpp#63, but the tricky part is that you need to set it before first paint to avoid the window moving between groups. We handle that for private windows around here, and you do the same for devtools if there's something in the nsWindow that you can use to identify a devtools window. If you happen to have a window that hasn't been painted yet, we have a helper function that will set whatever aumid you want (we use this to handle the initial window at startup, but I don't know if it will be applicable in your situation). I'm happy to help more if I can be useful.

A note from Gijs on Slack:
> Yeah, I would like to have a second icon personally. I don't know if that is a universal thing.

Back to Bug 1810724 Comment 1