Bug 191275 - x11-wm/openbox does not change desktop size when xrandr changes resolution
Summary: x11-wm/openbox does not change desktop size when xrandr changes resolution
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-22 14:05 UTC by Juan Ramón Molina Menor
Modified: 2015-06-23 11:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Ramón Molina Menor 2014-06-22 14:05:18 UTC
Since the update of Openbox to 3.5.2_4, switching to a lower resolution with xrandr works but the dimensions of the desktop do not change, so application windows and panel/taskbar (tint) are drawn partially off-screen. Xrandr was working perfectly before.
Comment 1 Juan Ramón Molina Menor 2014-06-22 14:08:50 UTC
Sorry, I forgot: FreeBSD 10.0-RELEASE-p4, GENERIC kernel, i386, WITH_NEW_XORG.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-06-25 02:39:12 UTC
Over to maintainer.
Comment 3 Roman Bogorodskiy freebsd_committer freebsd_triage 2014-07-23 15:37:53 UTC
Hmm...

It looks like it's a type of an issue that should be reported upstream. Though...

> Xrandr was working perfectly before.

Could you please elaborate what do you mean by 'before'?
Comment 4 Juan Ramón Molina Menor 2014-07-24 14:17:39 UTC
> > Xrandr was working perfectly before.
> 
> Could you please elaborate what do you mean by 'before'?
Before updating Openbox to 3.5.2_4. Snce then, as it was unusable, I have switched to mate desktop.
Comment 5 Roman Bogorodskiy freebsd_committer freebsd_triage 2014-08-01 06:16:51 UTC
Hmm, the actual version of openbox (I mean the code itself) has not been updated for about a year, so the problem is probably not in the openbox itself. Port revision was bumped several times though, because of xorg updates for example.

Anyway, could you share steps required to reproduce the problem so I could see if I can see it with my setup?
Comment 6 Juan Ramón Molina Menor 2014-08-01 08:09:45 UTC
In a default install of Openbox the desktop starts at the correct resolution for my monitor (1366x768). Then I issue the following command to switch to a lower resolution:
% xrandr -s 720x400
The dimensions of the desktop do not change, so application windows and panel/taskbar (tint) are drawn partially off-screen. Xrandr was working perfectly before updating Openbox.

So, I think you have just to use xrandr to change to a lower resolution and check if Openbox adapt correctly the dimensions of the viewport. It could be a local problem (old ATI card, unusual resolution…).
Comment 7 Roman Bogorodskiy freebsd_committer freebsd_triage 2015-06-14 05:18:02 UTC
I'm wondering if it's still relevant with the newer versions of packages in ports (incl. openbox)?
Comment 8 Juan Ramón Molina Menor 2015-06-23 11:42:28 UTC
Sorry for the delay in replying. I have since decommissioned the computer showing the issue and I’ve not been able to reproduce it with a new one and Openbox 3.6, so I think we can close the PR.

Thanks again for your attention.