Skip to content

Incorrect position and width on upscaled display #1437

@gnaqvi

Description

@gnaqvi

I am using dual monitor setup. The primary monitor DP-0 has a resolution of 3440x1440 and the left monitor HDMI-0 has an upscaled resolution of 1296x2304 (1920x1080 original).

screenshot from 2018-09-22 07-42-17

Bars are positioned correctly with the width set to 100% on the primary monitor. However, the bar on the left monitor is cut off even with width set to 100% and incorrectly vertically positioned. See below screenshot.

screenshot from 2018-09-22 07-34-29

I tried setting the width manually to more than 1080 but polybar logged an error polybar|error: Resulting bar width is out of bounds. I am also seeing polybar|error: Failed to restack bar window errors. I wasn't able to move the bar to the bottom of the screen through any configuration changes.

To Reproduce

I am using bspwm. Launching the polybar normally with polybar left. The configuration can be viewed by clicking the Github link below.

polybar/config

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions