Skip to content

New Incognito Window #614

Description

@corrisoft-mikeg

What Happened?

What Happened?

When opening a new Google Chrome Incognito window using the
right-click action on the elementary Dock, the new window opens
with incorrect geometry.

If the existing normal Chrome window is not maximized, the new
Incognito window appears vertically maximized but retains roughly
the width/position of the existing Chrome window.

This only happens when launching the Incognito window from the Dock.

Steps to Reproduce

  1. Open Google Chrome.
  2. Resize the Chrome window so that it is not maximized.
  3. Right-click the Google Chrome icon in the Dock.
  4. Select "New Incognito Window".

Result

The new Incognito window does not occupy the full maximized area.
Its horizontal dimensions appear related to the existing Chrome
window.

Expected Result

The Incognito window should open with normal/maximized geometry.

Additional Testing

Chrome is installed as a Flatpak:

com.google.Chrome

Running this manually works correctly:

flatpak run com.google.Chrome --incognito

The exact command from the Flatpak .desktop action also works
correctly when executed manually:

/usr/bin/flatpak run --branch=stable --arch=x86_64 \
  --command=/app/bin/chrome \
  com.google.Chrome --incognito

The issue only occurs when selecting:

Dock → right-click Google Chrome → New Incognito Window

Workaround

If I maximize the existing Chrome window first, then select
"New Incognito Window" from the Dock, the Incognito window opens
correctly.

I can then restore the original Chrome window to its previous size.

Environment

elementary OS: 8.1
Session: X11

io.elementary.dock:
8.3.3+r868+pkg21~ubuntu8.1

gala:
8.6.1+r3147+pkg134~ubuntu8.1

Google Chrome:
153.0.8010.36
Flatpak: com.google.Chrome

Image Image

Steps to Reproduce

  1. Open Google Chrome from the elementary Dock.
  2. Resize the existing Chrome window so that it is not maximized.
  3. Right-click the Google Chrome icon in the Dock.
  4. Select "New Incognito Window" and maximize if not already maximized.
  5. Observe that the Incognito window opens with incorrect geometry: it appears maximized vertically, but its width/position is based on the existing non-maximized Chrome window instead of filling the available screen.

Expected Behavior

The Incognito window should open using the normal maximized window geometry and fill the available desktop area.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Classic Session (X11)

Software Version

Latest release (I have run all updates)

Log Output

Sep 10 09:44:50 serenity systemd[40844]: Started app-flatpak-com.google.Chrome-49351.scope.
Sep 10 09:44:50 serenity com.google.Chrome.desktop[49366]: [0910/094450.513903:WARNING:chrome/app/chrome_main_linux.cc:84] Read channel stable from /app/extra/CHROME_VERSION_EXTRA
Sep 10 09:44:50 serenity systemd[40844]: Started app-flatpak-com.google.Chrome-49397.scope.
Sep 10 09:44:50 serenity com.google.Chrome.desktop[49394]: [0910/094450.639771:WARNING:chrome/app/chrome_main_linux.cc:84] Read channel stable from /app/extra/CHROME_VERSION_EXTRA
Sep 10 09:44:50 serenity com.google.Chrome.desktop[49366]: Opening in existing browser session.
Sep 10 09:44:50 serenity gala[41180]: Window manager warning: Window 0x360095b has property _NET_STARTUP_ID that was expected to have type UTF8_STRING format 8 and actually has type STRING format 8 n_items 0. This is most likely an application bug, not a window manager bug. The window has title="unknown" class="unknown" name="unknown"
Sep 10 09:44:50 serenity gala[41180]: Window manager warning: Window 0x360095b has property _NET_STARTUP_ID that was expected to have type UTF8_STRING format 8 and actually has type STRING format 8 n_items 0. This is most likely an application bug, not a window manager bug.

Can't update stage views actor unnamed [MetaWindowActorX11] is on because it needs an allocation.
Can't update stage views actor unnamed [MetaSurfaceActorX11] is on because it needs an allocation.

Hardware Info

=== CPU ===
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1

=== RAM ===
total used free shared buff/cache available
Mem: 31Gi 5.0Gi 7.6Gi 153Mi 19Gi 26Gi
Swap: 3.8Gi 0B 3.8Gi

=== GPU ===
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P400] (rev a1)

=== Storage ===
NAME SIZE ROTA TRAN MODEL
sda 465.8G 1 sata ST500DM009-2F110A
nvme0n1 1.9T 0 nvme Sabrent

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions