THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Daniel Hahler (blueyed) 

Attached to Project - awesome
Summary - Screen indices setup differently on startup vs (xrandr) restart; y 
offset wrong
Task Type - Bug Report
Category - Core
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Normal
Reported Version - git/master
Due in Version - Undecided
Due Date - Undecided
Details - When initially starting awesome (via lightdm and gnome-session), the 
screens look like this:

screen[1].workarea:
  y : 22
  x : 0
  height : 746
  width : 1366

screen[2].workarea:
  y : 22
  x : 1366
  height : 1178
  width : 1920

This also causes the smaller screen to be misplaced (y=22, should be y=454): 
its wallpaper and content are not visible completely.


After un- and redocking the laptop (and awesome restarting because of XRANDR 
changes), the screen indices are swapped (and the y offset for screen 2 is 
correct):

screen[1].workarea:
  y : 22
  x : 1366
  height : 1178
  width : 1920

screen[2].workarea:
  y : 454
  x : 0
  height : 746
  width : 1366

I believe that awesome should be consistent about the indices for the screens.

Also, the y offset for the smaller screen should be correct initially already.


This is the xrandr output after re-docking:

Screen 0: minimum 320 x 200, current 3286 x 1200, maximum 32767 x 32767
LVDS1 connected 1366x768+0+432 (normal left inverted right x axis y axis) 277mm 
x 156mm
   1366x768       60.0*+
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected primary 1920x1200+1366+0 (normal left inverted right x axis y 
axis) 519mm x 324mm
   1920x1200      60.0*+
   1600x1200      60.0  
   1680x1050      59.9  
   1280x1024      60.0  
   1280x960       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  
   720x400        70.1  
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

(IIRC it looks the same initially, but I will verify that).

I am using the following code to get this from `awesome-client`:

    return require("gears").debug.dump_return({screen[1].workarea, 
screen[2].workarea})

More information can be found at the following URL:
https://awesome.naquadah.org/bugs/index.php?do=details&task_id=1231

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.

--
To unsubscribe, send mail to awesome-devel-unsubscr...@naquadah.org.

Reply via email to