We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Window position is shifted after maximize then unmaximize only when touching top edge of desktop

  • 4 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 edata

more options

The position of the Firefox window is not restored correctly after clicking maximize then unmaximize (aka restore).

This is not a new problem. I think has always occurred on this machine (about a year old, Linux, Mint 19, Cinnamon).

It only happens if the window is touching the top edge (or corner) of the desktop. The unmaximized window is shifted down and to the right of the original position.

The window features (buttons, menus, etc) seem to return to their original positions, but the displayed window is shifted. For example, if I try to click the maximize button again, the mouse pointer needs to be above and left of the visible button.

I have turned off Linux desktop features, including window tiling and snapping, edge resistance, and some others, but I see no change. I also tried the monitor resolution and different desktop themes.

If this is not a bug, I am hoping I can disable something so that the window returns to its original position after it is unmaximized. For example, the height of the top border decreases when the window is maximized and increases when unmaximized, so if this is causing the issue, I am happy to disable it.

In the attached images, the top right of the image is the top right of the desktop. The first image shows Firefox in the top right corner before maximizing the window, and the second image shows the shifted position after unmaximizing the window. The expected behavior is for the window to return to the original position as shown in the first image.

Thanks for any help.

The position of the Firefox window is not restored correctly after clicking maximize then unmaximize (aka restore). This is not a new problem. I think has always occurred on this machine (about a year old, Linux, Mint 19, Cinnamon). It only happens if the window is touching the top edge (or corner) of the desktop. The unmaximized window is shifted down and to the right of the original position. The window features (buttons, menus, etc) seem to return to their original positions, but the displayed window is shifted. For example, if I try to click the maximize button again, the mouse pointer needs to be above and left of the visible button. I have turned off Linux desktop features, including window tiling and snapping, edge resistance, and some others, but I see no change. I also tried the monitor resolution and different desktop themes. If this is not a bug, I am hoping I can disable something so that the window returns to its original position after it is unmaximized. For example, the height of the top border decreases when the window is maximized and increases when unmaximized, so if this is causing the issue, I am happy to disable it. In the attached images, the top right of the image is the top right of the desktop. The first image shows Firefox in the top right corner before maximizing the window, and the second image shows the shifted position after unmaximizing the window. The expected behavior is for the window to return to the original position as shown in the first image. Thanks for any help.
已附加屏幕截图

所有回复 (4)

more options

Hello edata,

Follow the steps i hope resolve your problem :

You can use one of these to leave Full Screen mode:

  • press the F11 key.
  • click the Maximize button at the right end of the Tab bar.
  • click the Full Screen button in the "3-bar" menu button drop-down list.
  • right-click empty space on a toolbar and click "Exit Full Screen Mode"

I hope resolve your problem then reply me back.


Thank you

more options

Full-screen mode does not have the bug I am describing, so that is a smart alternative. However, I do not want full-screen mode because I cannot see the tabs, address bar, etc. I want to maximize and unmaximize the window and have it return to the unmaximized position.

Thanks for your response though.

more options

I think that you need to take this to the support website of your Linux distribution.

more options

Thanks. I'm happy to try Linux support, but this only happens with Firefox. Can you explain why it would not be a Firefox issue?