Package: kylin-display-switch
Version: 1.0.4-1
Severity: important

   * What led up to the situation?

        i was trying to turn off my laptop screen and switch to an
        external hdmi bigscreen and hence i installed the
        kylin-display-switch and started it and received a python
        deprecation warning when pressing [Super_Left]+[F7] to switch
        entirely from xinerama splitscreen to the external hdmi bigscreen:

        roman@zfs:~$ kds 
        roman@zfs:~$ man kds

        roman@zfs:~$ kylin_display_switch.py:151: DeprecationWarning:
        an integer is required (got type float).  Implicit conversion
        to integers using __int__ is deprecated, and may be removed in
        a future version of Python.  self.move((desktop.width() -
        self.width()) / 2, (desktop.height() - self.height()) *10 /
        21) found monitors : ['LVDS-1', 'HDMI-1'] max display mode :
        1366x768 , 1920x1080 best clone mode : 1360x768

   * What exactly did you do that was effective?

        sudo vi -c 151s=/=//=g 
/usr/share/kylin-display-switch/kylin_display_switch.py
        kds
        [Super_Left]+[F7]

   * What was the outcome of this action?

        remaining diagnostic gibberish but no more deprecation warning
        and hence legal python formulae:

        ;1~found monitors : ['LVDS-1', 'HDMI-1']
        max display mode : 1366x768 , 1920x1080
        best clone mode : 1360x768 

   * What outcome did you expect instead?

        this being solved centrally for all debianites and upstreamers

-- System Information:
Debian Release: bullseye/sid
  APT prefers oldoldstable
  APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.5.0-1-amd64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kylin-display-switch depends on:
ii  gir1.2-glib-2.0  1.64.1-1
ii  python3          3.8.2-3
ii  python3-pyqt5    5.14.2+dfsg-1+b1
ii  python3-xlib     0.27-1

kylin-display-switch recommends no packages.

kylin-display-switch suggests no packages.

-- no debconf information

Reply via email to