https://bugs.kde.org/show_bug.cgi?id=486171

            Bug ID: 486171
           Summary: Doesn't actually work with Qt 6
    Classification: Applications
           Product: kajongg
           Version: 24.02.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: wolfg...@rohdewald.de
          Reporter: aro...@archlinux.org
                CC: kde-games-b...@kde.org
  Target Milestone: ---

kajongg claims to support Qt6, and in fact depends on it at build time, but it
doesn't actually work with it

Traceback (most recent call last):
  File "/usr/share/kajongg/kdestub.py", line 100, in desktopSize
    result = Internal.app.desktop().availableGeometry()
             ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'KApplication' object has no attribute 'desktop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/kajongg", line 185, in <module>
    from mainwindow import MainWindow
  File "/usr/share/kajongg/mainwindow.py", line 89, in <module>
    logError("\n".join(" * %s" % s for s in NOTFOUND), showStack=False)
  File "/usr/share/kajongg/log.py", line 213, in logError
    return logMessage(msg, logging.ERROR, True, showStack=showStack,
withGamePrefix=withGamePrefix)
          
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kajongg/log.py", line 202, in logMessage
    return Information(msg) if prio == logging.INFO else Sorry(msg,
always=True)
                                                        
^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kajongg/dialogs.py", line 201, in __init__
    dialog = Prompt(msg, icon=QMessageBox.Information,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kajongg/dialogs.py", line 85, in __init__
    KMessageBox.createKMessageBox(
  File "/usr/share/kajongg/kdestub.py", line 209, in createKMessageBox
    desktop = KApplication.desktopSize()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/kajongg/kdestub.py", line 103, in desktopSize
    result = Internal.mainWindow.screen().availableGeometry()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'screen'

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to