Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.12, 5.15, 6.2
-
None
-
$ inxi -Fxy
System: Kernel: 5.10.45-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Openbox 3.6.1 Distro: Arch Linux
Machine: Type: Laptop System: LENOVO product: 20CM0048US v: ThinkPad X250 serial: <filter>
Mobo: LENOVO model: 20CM0048US v: SDK0E50510 WIN serial: <filter> UEFI: LENOVO v: N10ET59W (1.38 ) date: 08/15/2019
Battery: ID-1: BAT0 charge: 8.9 Wh (84.0%) condition: 10.6/23.5 Wh (44.9%) volts: 12.5 min: 11.4 model: LGC 45N1113
status: Charging
ID-2: BAT1 charge: 12.4 Wh (72.5%) condition: 17.1/23.5 Wh (72.7%) volts: 12.2 min: 11.4 model: LGC 45N1127
status: Unknown
CPU: Info: Dual Core model: Intel Core i7-5600U bits: 64 type: MT MCP arch: Broadwell rev: 4 cache: L2: 4 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20752
Speed: 2193 MHz min/max: 500/3200 MHz Core speeds (MHz): 1: 2193 2: 2242 3: 2302 4: 2228
Graphics: Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0
Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 2-8:4
Display: x11 server: X.Org 1.20.11 driver: loaded: intel unloaded: modesetting resolution: 3440x1440~50Hz
OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.1.3 direct render: Yes
Audio: Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel
bus-ID: 00:1b.0
Sound Server-1: ALSA v: k5.10.45-1-lts running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.30 running: no
Network: Device-1: Intel Ethernet I218-LM vendor: Lenovo driver: e1000e v: kernel port: 3080 bus-ID: 00:19.0
IF: enp0s25 state: down mac: <filter>
Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: efa0 bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 2-7:3
Report: rfkill ID: hci0 rfk-id: 23 state: up address: see --recommends
Drives: Local Storage: total: 922.21 GiB used: 738.63 GiB (80.1%)
ID-1: /dev/sda vendor: Seagate model: ST750LM022 HN-M750MBB size: 698.64 GiB
ID-2: /dev/sdb model: SB2 size: 223.57 GiB
Partition: ID-1: / size: 219.44 GiB used: 164.57 GiB (75.0%) fs: ext4 dev: /dev/sdb3
ID-2: /boot size: 511 MiB used: 104.1 MiB (20.4%) fs: vfat dev: /dev/sdb1
Swap: ID-1: swap-1 type: file size: 2 GiB used: 306.1 MiB (14.9%) file: /swapfile
Sensors: System Temperatures: cpu: 53.0 C mobo: 0.0 C
Fan Speeds (RPM): cpu: 4117
Info: Processes: 197 Uptime: 1d 19h 52m Memory: 7.67 GiB used: 4.17 GiB (54.3%) Init: systemd Compilers: gcc: 11.1.0
clang: 12.0.0 Packages: 1315 Shell: Bash v: 5.1.8 inxi: 3.3.04
$ inxi -Fxy System: Kernel: 5.10.45-1-lts x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Openbox 3.6.1 Distro: Arch Linux Machine: Type: Laptop System: LENOVO product: 20CM0048US v: ThinkPad X250 serial: <filter> Mobo: LENOVO model: 20CM0048US v: SDK0E50510 WIN serial: <filter> UEFI: LENOVO v: N10ET59W (1.38 ) date: 08/15/2019 Battery: ID-1: BAT0 charge: 8.9 Wh (84.0%) condition: 10.6/23.5 Wh (44.9%) volts: 12.5 min: 11.4 model: LGC 45N1113 status: Charging ID-2: BAT1 charge: 12.4 Wh (72.5%) condition: 17.1/23.5 Wh (72.7%) volts: 12.2 min: 11.4 model: LGC 45N1127 status: Unknown CPU: Info: Dual Core model: Intel Core i7-5600U bits: 64 type: MT MCP arch: Broadwell rev: 4 cache: L2: 4 MiB flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20752 Speed: 2193 MHz min/max: 500/3200 MHz Core speeds (MHz): 1: 2193 2: 2242 3: 2302 4: 2228 Graphics: Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 2-8:4 Display: x11 server: X.Org 1.20.11 driver: loaded: intel unloaded: modesetting resolution: 3440x1440~50Hz OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 21.1.3 direct render: Yes Audio: Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:03.0 Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 Sound Server-1: ALSA v: k5.10.45-1-lts running: yes Sound Server-2: JACK v: 0.125.0 running: no Sound Server-3: PulseAudio v: 14.2 running: yes Sound Server-4: PipeWire v: 0.3.30 running: no Network: Device-1: Intel Ethernet I218-LM vendor: Lenovo driver: e1000e v: kernel port: 3080 bus-ID: 00:19.0 IF: enp0s25 state: down mac: <filter> Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel port: efa0 bus-ID: 03:00.0 IF: wlp3s0 state: up mac: <filter> Bluetooth: Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 2-7:3 Report: rfkill ID: hci0 rfk-id: 23 state: up address: see --recommends Drives: Local Storage: total: 922.21 GiB used: 738.63 GiB (80.1%) ID-1: /dev/sda vendor: Seagate model: ST750LM022 HN-M750MBB size: 698.64 GiB ID-2: /dev/sdb model: SB2 size: 223.57 GiB Partition: ID-1: / size: 219.44 GiB used: 164.57 GiB (75.0%) fs: ext4 dev: /dev/sdb3 ID-2: /boot size: 511 MiB used: 104.1 MiB (20.4%) fs: vfat dev: /dev/sdb1 Swap: ID-1: swap-1 type: file size: 2 GiB used: 306.1 MiB (14.9%) file: /swapfile Sensors: System Temperatures: cpu: 53.0 C mobo: 0.0 C Fan Speeds (RPM): cpu: 4117 Info: Processes: 197 Uptime: 1d 19h 52m Memory: 7.67 GiB used: 4.17 GiB (54.3%) Init: systemd Compilers: gcc: 11.1.0 clang: 12.0.0 Packages: 1315 Shell: Bash v: 5.1.8 inxi: 3.3.04
Description
The primaryScreenChanged signal is not fired when changing primary display with xrandr in Linux.
xrandr --output DP2-1 --off xrandr --output eDP1 --primary --mode 1366x768 --pos 0x0 --rotate normal --dpi 96x96 xrandr --output eDP1 --off xrandr --output DP2-1 --primary --mode 3440x1440 --pos 0x0 --rotate normal --dpi 102x102
#!/usr/bin/python3 from PyQt5 import QtWidgets def screenChanged(self, *args): print("Screen changed") app = QtWidgets.QApplication([]) app.primaryScreenChanged.connect(screenChanged) core = QtWidgets.QMainWindow() core.show() app.exec()
Attachments
Issue Links
- relates to
-
QTBUG-52375 QScreen may change its name despite having read-only property "name"
-
- Reported
-