You are not logged in.

#1 2014-09-08 20:17:53

richardkemp
Member
Registered: 2014-08-06
Posts: 13

Context menus showing in the wrong place

I'm asking here since I've been unable to find any info relating to this on the web :-(

Right-click menus show in the wrong place when I click on my two side-screen, but not on my main (center) screen. Clicking on the left screen results in the popup being shown with it's left edge aligned to the center of the screen if I have clicked to the left of the centerline, but correctly on the right-hand side of that screen. Clicks on the center screen are always fine. Any clicks on the right screen show menus with their rightmost edge aligned to the right of my center screen - not on the correct screen at all! Vertical alignment is always correct.

I am using a Nvidia 9800GT to output to my L and C screens, and my motherboard's intel graphics to output to the R screen. Nvidia closed driver + intel modesetting. This is the startup script I use to get my screens in their correct places:

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --output DVI-I-1 --rotate left --left-of DVI-I-2
xrandr --output HDMI-1-0 --mode 1920x1080 --right-of DVI-I-2

and here is xrandr output:

$ xrandr
Screen 0: minimum 8 x 8, current 4890 x 1400, maximum 8192 x 8192
DVI-I-0 disconnected primary (normal left inverted right x axis y axis)
DVI-I-1 connected 1050x1400+0+0 left (normal left inverted right x axis y axis) 408mm x 306mm panning 2970x1400+0+0 tracking 4890x1400+0+0 border 0/0/0/0
   1400x1050     74.87*+  59.98  
   1280x1024     75.02    60.02  
   1280x960      75.00    60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
TV-0 disconnected (normal left inverted right x axis y axis)
DVI-I-2 connected 1920x1200+1050+0 (normal left inverted right x axis y axis) 550mm x 344mm panning 3840x1200+1050+0 tracking 4890x1400+0+0 border 0/0/0/0
   1920x1200     59.95*+  59.88  
   1680x1050     59.95  
   1600x1200     60.00  
   1440x900      59.89  
   1400x1050     59.98  
   1360x765      60.00  
   1280x1024     75.02    60.02  
   1280x720      60.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   640x480       75.00    72.81    59.94  
DVI-I-3 disconnected (normal left inverted right x axis y axis)
VGA-1-0 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected 1920x1080+2970+0 (normal left inverted right x axis y axis) 160mm x 90mm
   1920x1080     60.00*+  50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1280x1024     60.02  
   1360x768      60.02  
   1152x864      59.97  
   1280x720      60.00    50.00    59.94  
   1440x576i     50.00  
   1024x768      60.00  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94    59.94  
   720x400       70.08  
DisplayPort-1-0 disconnected (normal left inverted right x axis y axis)
  1280x1024 (0x51) 108.000MHz
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x720 (0x54) 74.250MHz
        h: width  1280 start 1390 end 1430 total 1650 skew    0 clock  45.00KHz
        v: height  720 start  725 end  730 total  750           clock  60.00Hz
  1024x768 (0x58) 65.000MHz
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x59) 40.000MHz
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  640x480 (0x5f) 25.175MHz
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

I don't think it's actually a config issue as I'm pretty sure this started since I got all of the above set up and working. Any suggestions much appreciated!

Offline

#2 2014-09-08 22:20:10

richardkemp
Member
Registered: 2014-08-06
Posts: 13

Re: Context menus showing in the wrong place

In fact after a restart the menus on the left screen are now showing in a different place: rougly straddling the border between the left and center screen.

Offline

#3 2014-09-08 22:26:08

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Context menus showing in the wrong place

code wrote:

DVI-I-1 connected 1050x1400+0+0 left (normal left inverted right x axis y axis) 408mm x 306mm panning 2970x1400+0+0 tracking 4890x1400+0+0 border 0/0/0/0
   1400x1050     74.87*+  59.98

 I see that for the first time, is that correct?

Offline

#4 2014-09-08 22:30:48

richardkemp
Member
Registered: 2014-08-06
Posts: 13

Re: Context menus showing in the wrong place

That's correct, the screen is in portrait. Also I forgot to add but I'm using i3 with no DE. Not sure if that makes a difference.

Also some more info: in terminator, hexchat, and guayadeque, the menus are displaced. In pcmanfm they are not.

Offline

#5 2014-09-16 21:25:34

richardkemp
Member
Registered: 2014-08-06
Posts: 13

Re: Context menus showing in the wrong place

Bump? I'm not a complete nub but unfortunately I just don't know where to start looking on this one :-(

Offline

#6 2014-09-16 21:35:33

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Context menus showing in the wrong place

 Try openbox or fluxbox or similar to rule i3 out.

Offline

#7 2014-09-17 19:01:11

richardkemp
Member
Registered: 2014-08-06
Posts: 13

Re: Context menus showing in the wrong place

Thanks for the excellent suggestion! Stupid of me not to try something simple like that myself.

With fluxbox it's mostly better - all application context menus open in the correct place on all screens. However, the context menu shown when right-clicking on the desktop only shows correctly on my left and center screens (which are on my nvidia card), when I click on the desktop on my right screen (which is intel HDMI from my motherboard) the menu instead shows with it's right edge aligned to the right border of my left screen. So.. a mixed bag there. Better where it counts (applications, I don't care about fluxbox's behaviour especially as I prefer i3) but still some evidence of misbehaviour.

Offline

#8 2014-09-18 00:24:36

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: Context menus showing in the wrong place

 It seems to be related to the hybrid graphics "featureful" implementation. I would argue that there are some holes in the code when it comes to specifications and/or guidelines, but maybe there are none so far. Try openbox also, you will probably experience a very similar behaviour to fluxbox. Try also changing and rearranging the layout completely. Maybe the igpu can take two monitors.

Offline

Board footer

Powered by FluxBB