seeing different behavior between PC vs MAC when opening active tabs in minimized windows

46 views
Skip to first unread message

Gilad Spitzer

unread,
Sep 23, 2023, 5:31:16 PM9/23/23
to Chromium Extensions
When opening a minimized window via chrome.windows.create and then creating subsequent tabs via chrome.tabs.create and assigning them to that minimized window --> when the tab is created with active: true, on Mac the window stays minimized while on PC the window gets maximized.

Is there a way to change the active state of a tab (activate it) in a minimized on PC without maximizing the window?

wOxxOm

unread,
Sep 24, 2023, 12:41:12 PM9/24/23
to Chromium Extensions, Gilad Spitzer
Assuming there's no hidden mistake in your code this definitely sounds like a bug, see it's reported in crbug.com or report otherwise.
A possible workaround may be to create the tab without `active` and then set it via chrome.tabs.update.

Reply all
Reply to author
Forward
0 new messages