With my dualscreen setup, the AppMenu TopMenuBar is located top center between _both_ screens (see screenshot). While this looks ok on the screenshot (which combines two screens), it causes problems with two physical screens which have bevels around their displays: The menu bar is split upon two screens. Reproducible: Always Steps to Reproduce: 1. use dual screen setup 2. use appmenu top menu bar Actual Results: top menu bar is split upon two screens Expected Results: top menu bar should be located on one screen
Created attachment 77188 [details] screenshot
Nobody interested in this? :(
Can you give me more information about your setup... Here with Nouveau and Intel drivers, it works... Nvidia blob driver ?
radeon open source driver: ademmer@envy:~> rpm -q xf86-video-ati xf86-video-ati-7.0.0-2.1.1.x86_64
ademmer@envy:~> rpm -q xorg-x11-server xorg-x11-server-7.6_1.13.2-1.1.1.x86_64 ademmer@envy:~> xrandr --verbose Screen 0: minimum 320 x 200, current 3280 x 1050, maximum 8192 x 8192 LVDS-1 connected 1600x900+1680+150 (0x44) normal (normal left inverted right x axis y axis) 0mm x 0mm Identifier: 0x8e Timestamp: 397670 Subpixel: horizontal rgb Gamma: 0.97:1.1:1.4 Brightness: 0.97 Clones: CRTC: 1 CRTCs: 1 0 2 3 4 5 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: scaling mode: Full supported: None Full Center Full aspect 1600x900 (0x44) 107.8MHz -HSync -VSync *current +preferred h: width 1600 start 1664 end 1728 total 1982 skew 0 clock 54.4KHz v: height 900 start 901 end 902 total 907 clock 60.0Hz 1440x900 (0x92) 106.5MHz -HSync +VSync h: width 1440 start 1528 end 1672 total 1904 skew 0 clock 55.9KHz v: height 900 start 903 end 909 total 934 clock 59.9Hz 1280x854 (0x93) 89.2MHz -HSync +VSync h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 53.1KHz v: height 854 start 857 end 867 total 887 clock 59.9Hz 1280x800 (0x94) 83.5MHz -HSync +VSync h: width 1280 start 1352 end 1480 total 1680 skew 0 clock 49.7KHz v: height 800 start 803 end 809 total 831 clock 59.8Hz 1280x720 (0x95) 74.5MHz -HSync +VSync h: width 1280 start 1344 end 1472 total 1664 skew 0 clock 44.8KHz v: height 720 start 723 end 728 total 748 clock 59.9Hz 1152x768 (0x96) 71.8MHz -HSync +VSync h: width 1152 start 1216 end 1328 total 1504 skew 0 clock 47.7KHz v: height 768 start 771 end 781 total 798 clock 59.8Hz 1024x768 (0x97) 63.5MHz -HSync +VSync h: width 1024 start 1072 end 1176 total 1328 skew 0 clock 47.8KHz v: height 768 start 771 end 775 total 798 clock 59.9Hz 800x600 (0x98) 38.2MHz -HSync +VSync h: width 800 start 832 end 912 total 1024 skew 0 clock 37.4KHz v: height 600 start 603 end 607 total 624 clock 59.9Hz 848x480 (0x99) 31.5MHz -HSync +VSync h: width 848 start 872 end 952 total 1056 skew 0 clock 29.8KHz v: height 480 start 483 end 493 total 500 clock 59.7Hz 720x480 (0x9a) 26.8MHz -HSync +VSync h: width 720 start 744 end 808 total 896 skew 0 clock 29.9KHz v: height 480 start 483 end 493 total 500 clock 59.7Hz 640x480 (0x9b) 23.8MHz -HSync +VSync h: width 640 start 664 end 720 total 800 skew 0 clock 29.7KHz v: height 480 start 483 end 487 total 500 clock 59.4Hz DisplayPort-0 disconnected (normal left inverted right x axis y axis) Identifier: 0x8f Timestamp: 397670 Subpixel: horizontal rgb Clones: CRTCs: 1 0 2 3 4 5 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: underscan vborder: 0 (0x00000000) range: (0,128) underscan hborder: 0 (0x00000000) range: (0,128) underscan: off supported: off on auto coherent: 1 (0x00000001) range: (0,1) HDMI-0 connected 1680x1050+0+0 (0x9c) normal (normal left inverted right x axis y axis) 474mm x 296mm Identifier: 0x90 Timestamp: 397670 Subpixel: horizontal rgb Gamma: 1.0:1.0:1.0 Brightness: 1.0 Clones: CRTC: 0 CRTCs: 1 0 2 3 4 5 Transform: 1.000000 0.000000 0.000000 0.000000 1.000000 0.000000 0.000000 0.000000 1.000000 filter: EDID: 00ffffffffffff0010ac4e4043574c34 1c130103802f1e78eeee95a3544c9926 0f5054a54b00714f8180b30001010101 0101010101017c2e90a0601a1e403020 3600da281100001a000000ff00573431 364b393738344c57430a000000fc0044 454c4c2050323231300a2020000000fd 00384b1e5310000a20202020202000c2 underscan vborder: 0 (0x00000000) range: (0,128) underscan hborder: 0 (0x00000000) range: (0,128) underscan: off supported: off on auto coherent: 1 (0x00000001) range: (0,1) 1680x1050 (0x9c) 119.0MHz +HSync -VSync *current +preferred h: width 1680 start 1728 end 1760 total 1840 skew 0 clock 64.7KHz v: height 1050 start 1053 end 1059 total 1080 clock 59.9Hz 1680x945 (0x9d) 131.5MHz -HSync +VSync h: width 1680 start 1784 end 1960 total 2240 skew 0 clock 58.7KHz v: height 945 start 946 end 949 total 978 clock 60.0Hz 1400x1050 (0x9e) 156.0MHz -HSync +VSync h: width 1400 start 1504 end 1648 total 1896 skew 0 clock 82.3KHz v: height 1050 start 1053 end 1057 total 1099 clock 74.9Hz 1400x1050 (0x9f) 101.0MHz +HSync -VSync h: width 1400 start 1448 end 1480 total 1560 skew 0 clock 64.7KHz v: height 1050 start 1053 end 1057 total 1080 clock 59.9Hz 1600x900 (0xa0) 119.0MHz -HSync +VSync h: width 1600 start 1696 end 1864 total 2128 skew 0 clock 55.9KHz v: height 900 start 901 end 904 total 932 clock 60.0Hz 1280x1024 (0xa1) 135.0MHz +HSync +VSync h: width 1280 start 1296 end 1440 total 1688 skew 0 clock 80.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 75.0Hz 1280x1024 (0xa2) 108.0MHz +HSync +VSync h: width 1280 start 1328 end 1440 total 1688 skew 0 clock 64.0KHz v: height 1024 start 1025 end 1028 total 1066 clock 60.0Hz 1440x900 (0xa3) 136.8MHz -HSync +VSync h: width 1440 start 1536 end 1688 total 1936 skew 0 clock 70.6KHz v: height 900 start 903 end 909 total 942 clock 75.0Hz 1440x900 (0xa4) 88.8MHz +HSync -VSync h: width 1440 start 1488 end 1520 total 1600 skew 0 clock 55.5KHz v: height 900 start 903 end 909 total 926 clock 59.9Hz 1280x960 (0xa5) 108.0MHz +HSync +VSync h: width 1280 start 1376 end 1488 total 1800 skew 0 clock 60.0KHz v: height 960 start 961 end 964 total 1000 clock 60.0Hz 1366x768 (0xa6) 85.9MHz -HSync +VSync h: width 1366 start 1439 end 1583 total 1800 skew 0 clock 47.7KHz v: height 768 start 769 end 772 total 795 clock 60.0Hz 1360x768 (0xa7) 85.5MHz +HSync +VSync h: width 1360 start 1424 end 1536 total 1792 skew 0 clock 47.7KHz v: height 768 start 771 end 777 total 795 clock 60.0Hz 1280x800 (0xa8) 106.5MHz -HSync +VSync h: width 1280 start 1360 end 1488 total 1696 skew 0 clock 62.8KHz v: height 800 start 803 end 809 total 838 clock 74.9Hz 1280x800 (0xa9) 71.0MHz +HSync -VSync h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 49.3KHz v: height 800 start 803 end 809 total 823 clock 59.9Hz 1152x864 (0xaa) 108.0MHz +HSync +VSync h: width 1152 start 1216 end 1344 total 1600 skew 0 clock 67.5KHz v: height 864 start 865 end 868 total 900 clock 75.0Hz 1280x768 (0xab) 102.2MHz +HSync -VSync h: width 1280 start 1360 end 1488 total 1696 skew 0 clock 60.3KHz v: height 768 start 771 end 778 total 805 clock 74.9Hz 1280x768 (0xac) 68.2MHz +HSync -VSync h: width 1280 start 1328 end 1360 total 1440 skew 0 clock 47.4KHz v: height 768 start 771 end 778 total 790 clock 60.0Hz 1024x768 (0xad) 78.8MHz +HSync +VSync h: width 1024 start 1040 end 1136 total 1312 skew 0 clock 60.1KHz v: height 768 start 769 end 772 total 800 clock 75.1Hz 1024x768 (0xae) 75.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1328 skew 0 clock 56.5KHz v: height 768 start 771 end 777 total 806 clock 70.1Hz 1024x768 (0x45) 65.0MHz -HSync -VSync h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz v: height 768 start 771 end 777 total 806 clock 60.0Hz 1024x576 (0xaf) 47.0MHz -HSync +VSync h: width 1024 start 1064 end 1168 total 1312 skew 0 clock 35.8KHz v: height 576 start 577 end 580 total 597 clock 60.0Hz 800x600 (0xb0) 50.0MHz +HSync +VSync h: width 800 start 856 end 976 total 1040 skew 0 clock 48.1KHz v: height 600 start 637 end 643 total 666 clock 72.2Hz 800x600 (0xb1) 49.5MHz +HSync +VSync h: width 800 start 816 end 896 total 1056 skew 0 clock 46.9KHz v: height 600 start 601 end 604 total 625 clock 75.0Hz 800x600 (0x46) 40.0MHz +HSync +VSync h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz v: height 600 start 601 end 605 total 628 clock 60.3Hz 800x600 (0x47) 36.0MHz +HSync +VSync h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz v: height 600 start 601 end 603 total 625 clock 56.2Hz 848x480 (0xb2) 33.8MHz +HSync +VSync h: width 848 start 864 end 976 total 1088 skew 0 clock 31.0KHz v: height 480 start 486 end 494 total 517 clock 60.0Hz 640x480 (0xb3) 31.5MHz -HSync -VSync h: width 640 start 664 end 704 total 832 skew 0 clock 37.9KHz v: height 480 start 489 end 492 total 520 clock 72.8Hz 640x480 (0xb4) 31.5MHz -HSync -VSync h: width 640 start 656 end 720 total 840 skew 0 clock 37.5KHz v: height 480 start 481 end 484 total 500 clock 75.0Hz 640x480 (0xb5) 25.2MHz -HSync -VSync h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz v: height 480 start 490 end 492 total 525 clock 60.0Hz 720x400 (0xb6) 28.3MHz -HSync +VSync h: width 720 start 738 end 846 total 900 skew 0 clock 31.5KHz v: height 400 start 412 end 414 total 449 clock 70.1Hz Any more info you need?
Ok, will setup a conf with different monitor size as it seems to be the issue.
Can't reproduce this bug here with Intel and Nvidia hardware :-( I have no ATI card to debug... How do you configure your dual screen ? xrandr, krandr or xorg.conf ?
I used KScreen/klibscreen oth with automatic and manual configuration. But it also happens when using KRandrTray or KRandr KCM for setting up dualscreen. Are there any logs that my be useful?
http://ubuntuone.com/1Pj2Ow2vgssRzDicVtpp1s Please download this program: $ cd screen/build $ cmake .. $ make $ ./screen Post here two screenshots showing informations from screen 0 and screen 1
Created attachment 77728 [details] "screen" output of HDMI-0 screen
Created attachment 77729 [details] "screen" output of LVDS-1 screen
Requested screenshots added
Can you take a screenshot of two screens but with right screen application active ?
What would be the right screen resolution? Both screens running at the native resolution: hdmi-0: 1680x1050 lvds-1: 1600x900
Right screen like in first screenshot ie 1600x900, no ?
First screenshot shows the correct resolutions, left part is hdmi-0@1680x1050, right part is lvds-1@1600x900 Made with ksnapshot
Yes, but active app is on left screen, no ?
Created attachment 77730 [details] Screenshot with correct resolutions
Please take same screenshot as https://bugs.kde.org/attachment.cgi?id=77188 but with right application active.
Created attachment 77731 [details] screenshot with app on left screen
Created attachment 77732 [details] screenshot with app on right screen
Added requested screenshots, sorry I was mistaken.
http://ubuntuone.com/4FFuVq2LpSCo6hOXAuqqIq Please download and build this new version of screen.tgz and tell me what you see in konsole when putting window on screen 0 and then on screen 1.
ademmer@envy:~/Downloads/screen/build> ./screen Screen 0 : QPoint(839,0) Screen 1 : QPoint(2479,150)
Really do not understand what is happening. Can you do this: $ git clone git://anongit.kde.org/kde-workspace.git $ cd kde-workspace $ patch -p1 < ~/debug.diff $ mkdir build && cd build $ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr $ cd appmenu $ make $ su # make install Then logoff and login again into KDE Please search this lines in ~/.xession-errors: *****************************START DEBUG APPMENU**************************** 0 | QRect(61,0 1619x1050) | QPoint(673,0) *****************************FINISH DEBUG APPMENU**************************** *****************************START DEBUG APPMENU**************************** 1 | QRect(1680,0 1680x1050) | QPoint(2305,0) *****************************FINISH DEBUG APPMENU**************************** and post here what you get.
Where do I take the debug.diff from?
Created attachment 77796 [details] I'm too stupid :)
Here you are: *****************************START DEBUG APPMENU**************************** 0 | QRect(0,0 3280x1010) | QPoint(1568,0) *****************************FINISH DEBUG APPMENU**************************** *****************************START DEBUG APPMENU**************************** 0 | QRect(0,0 3280x1010) | QPoint(1568,0) *****************************FINISH DEBUG APPMENU**************************** BTW: I really appreciate your help, thx!
*****************************START DEBUG APPMENU**************************** 0 | QRect(0,0 3280x1010) | QPoint(1336,0) *****************************FINISH DEBUG APPMENU****************************
>QRect(0,0 3280x1010) This is not valid, don't understand why you get this value :-(
Can you try to get logs when application is on screen 1 ? Should look like this: 1 | QRect ....
I guess we are closing in: opening appmenu for dolphin on HDMI-0: *****************************START DEBUG APPMENU**************************** 0 | QRect(0,0 3280x1010) | QPoint(1418,0) *****************************FINISH DEBUG APPMENU**************************** moving dolphin to LVDS-1, opening appmenu for another app (systemsettings) on HDMI-0: *****************************START DEBUG APPMENU**************************** 0 | QRect(0,0 3280x1010) | QPoint(1568,0) *****************************FINISH DEBUG APPMENU**************************** opening appmenu for dolphin on LVDS-1 *****************************START DEBUG APPMENU**************************** 0 | QRect(0,0 3280x1010) | QPoint(1416,0) *****************************FINISH DEBUG APPMENU**************************** So the screen identifier always stays the same. I guess it considers both screens combined as one large screen which explains why the appmenu is placed in the middle of both. But how can this detection be changed?!?
What i do not understand is: "What is it working with my test program?" :-(
Can you send me output of this: cat ~/.kde*/share/config/krandrrc
Created attachment 77802 [details] kranderrc Requested krandrrc file attached
Can you try try this: $ xrandr --output HDMI-0 --pos 0x0 --mode 1680x1050 --refresh 59.9543 $ xrandr --output LVDS-1 --pos 1680x150 --mode 1600x900 --refresh 59.9543 $ xrandr --noprimary It's strange because krandrrc miss some sections and refer to LVDS and not LVDS-1 :-/
Tried the commands, does not change anything unfortunally. One behaviour I noticed is that KWin crashes upon execution of the "xrandr --noprimary" command. I had a similar crash while unplugging the external display as reported in bug #315450. This information is most likely of no value but I wanted to mention it nevertheless. Is there anything more I can do to help you debugging?
It works with screen test program so it seems bug appears only when running as a kded plugin :-/ Can you do this: - killall kded4 - kded4 --nofork And see if it changes something
What opensuse version are you using ? Here 12.3. Can you test with a Kubuntu 13.04 live cd ? :-)
Just test with an ATI card, can't reproduce issue :-(
Restarting kded4 (even without "--nofork") did the trick: The appmenu now is centered top on the active screen again. Yay! :-) So it looks like a race condition?
Strange, what opensuse version ? Can you upgrade to test with 12.3? Test with Kubuntu alpha ?
Running openSUSE 12.3: ademmer@envy:~> cat /etc/SuSE-release openSUSE 12.3 (x86_64) VERSION = 12.3 CODENAME = Dartmouth
Please report bug to opensuse packagers with a link to this bug report.
Can reproduce here with OpenSuse 12.3 and KDE 4.11, will give a look soon!
Unfortunately, when able to reproduce the bug, kwin segfault in less than 5 second and switch back to cloned video mode :-(
Will try again with new openSUSE.
This is for the old Plasma 4 implementation. Plasma 5.9 has a new implementation of the menu bar.