! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Maximising Windows
Status:
RESOLVED: MOVED
Product:
Xfce4-panel

Comments

Description Gary 2014-06-13 11:52:11 CEST
Hi,

Hope this is the correct place to report the minor issue I have found.

I recently installed Ubuntu on my laptop, with which I use a second display attached to it on a stand.
The second screen is set-up to be above the laptop screen.
I am using the xfce desktop, with the main (applications/windows) panel at the top of the laptop screen.

The issue I have noticed is when maximising windows on the laptop screen the title bar is covered by this panel, however if I maximise a window on the second screen space is left at the top of the screen as if the panel was present there.

Moving the panel to the bottom of the laptop screen (like winblows has it) and the maximising works correctly, but if the panel is at the bottom of the second screen the bottom of a maximised window is obscured below the panel.

Thanks,
Gary
Comment 1 nefilims 2014-11-08 13:53:55 CET
Created attachment 5733 
Screen capture

Screen capture showing the bug.

It is with dual monitors.

On the top monitor -external-, which has the biggest resolution, the bottom of the maximized LibreOffice window is being hidden by the panel / task bar.

On the bottom window -the laptop's screen - there is no such problem.
Comment 2 nefilims 2014-11-08 13:55:08 CET
Hello.

I think I have the same bug.

I am using a Dell Latitude E6400 with Linux Mint 17 (XFCE 4.10) upgraded from Linux Mint 16.
I have a dual monitor : the laptop's monitor and an external monitor (HP S2231a).
They are in a non-mirror set-up.

When I have 2 monitors, set-up with one above the other (instead of left-right of each other for example), the windows that I maximize in the top monitor (the external one) have their bottom hidden under the panel.
In the other monitor (the laptop's one, below the external one), maximized windows do not span to the actual bottom of the available space, i.e. there is a gap between the panel and the bottom of the window.

As you can see in the attached screen capture, in the top monitor, one can not see the bottom of the LibreOffice window, while it is possible in the bottom window, with the gap.

I have understood that this gap actually matches the width difference between the panel of the top monitor (wider) and the bottom one (narrower), and indeed, if I change the width of the bottom panel in order that it is equal to the width of the top panel, the gap disappears.

But I still have the issue of being unable to reach the bottom of the maximized windows in the top monitor. It is not a huge issue, but still annoyiong as some of the controls for many softwares are located there. I have to resize by hand all maximized windows.

I would keenly take any solution or collaborate with the developpers for debugging.
Comment 3 nefilims 2014-11-08 13:58:40 CET
However, I have noticed now that when I am booting without the second monitor, I have the issue of the maximized windows being overlapped by the taskbar, which I think did not happen before...
(see following attachment)
Comment 4 nefilims 2014-11-08 13:59:57 CET
Created attachment 5734 
Screen capture with the same computer after booting without the external monitor.

Screen capture with the same computer after booting without the external monitor.
Comment 5 Kamil Yaminov 2015-12-17 08:58:19 CET
Created attachment 6561 
Patch that fixes wrong behaviour of the panel

With attached patch it works on my dual monitor desktop. Also you can take fixed xfce4-panel here https://github.com/yaminov/xfce4-panel/yaminov/struts
Comment 6 Nick Craig-Wood 2015-12-17 13:03:47 CET
I can confirm that Kamil Yaminov's patch fixes the problem for me too.

I applied it to the version of xfce4-panel in ubuntu 14.10 and rebuilt the package.

Thanks Kamil!
Comment 7 Dennis 2016-08-04 12:29:31 CEST
I think I've got pretty much the same issue, but the patch doesn't fix it for me.
My issue is I have two displays and when a panel is set up on the left edge of the right display it doesn't reserve space on a border. See the attached screen capture that shows the diplays' border.
Comment 8 Dennis 2016-08-04 12:30:30 CEST
Created attachment 6765 
Screen capture with xfce4-panel "between" displays
Comment 9 Dennis 2016-08-04 13:33:30 CEST
Okay, I've commented out these lines from panel-window.c
```
/*      if (window->struts_edge == STRUTS_EDGE_NONE)
        panel_debug (PANEL_DEBUG_POSITIONING,
                     "%p: unset struts edge; between monitors", window);*/
```
Now it does reserve space on a border but lots of plugins are not addable now, they are just missing under "Add" menu...
Comment 10 Dennis 2016-08-04 14:11:52 CEST
Building with the correct flags solved the issue.
Comment 11 w.noichl+bugzilla_xfce 2019-02-07 10:21:05 CET
Xfce4.13 / Ubuntu18.10

I'm still seeing the same problem. It even persists when "going back to a single monitor setup", eg plugging into a docking station and then disabling the primary monitor.
Comment 12 w.noichl+bugzilla_xfce 2019-02-07 21:02:54 CET
Interestingly, "maximizing to the right/left half" of the screen just works as it should, and the window would not overlap the panel then?!
Comment 13 Git Bot editbugs 2020-05-28 01:52:14 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/95.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #10957

Reported by:
Gary
Reported on: 2014-06-13
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
5 users

Version

Version:
4.10.0

Attachments

Additional information