Skip to content

Unable to open any external app in appload after AppLoadLauncher.launchApplication("external::koreader") is called and exited. #47

@lurenjiamax

Description

@lurenjiamax

App log

Apr 15 19:00:55 imx93-chiappa xochitl[30088]: 11:00:55.740 qml                      Launching: external::koreader (onRequestLaunch qrc:/appload/qml/appload.qml:102)
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: 11:00:55.747 qml                      Application starting on device with move aspect ratio (56). Real aspect ratio of the application is going to be move (launchWindow qrc:/appload/qml/appload.qml:78)
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: 11:00:55.748 default                  [QTFB]: Re-register framebuffer  -1 as 1631871
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Unregistered framebuffer controller ID: -1
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Registered framebuffer controller ID: 1631871
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: 11:00:55.749 default                  [AppLoad]: Starting external binary "./koreader.sh"
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: 11:00:55.763 default                  [QTFB]: FB Repaint triggered for  1631871 . Status:  false
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Awaiting incoming connections to/tmp/qtfb.sock
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Connection established from client. Sock FD is 4
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Client is connecting in 6 mode. Resolution is set to 954x1696
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Defined SHM (3235968 bytes) at 0xffff2f8d9000
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: Invoked image constructor for address 0xffff38002fb0, w = 954, h = 1696, bpl = 1908, f = 7
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: [QTFB]: Associated connection <==> framebuffer 1631871
Apr 15 19:00:55 imx93-chiappa xochitl[30088]: 11:00:55.894 default                  [QTFB]: FB Repaint triggered for  1631871 . Status:  true
...
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: 11:01:03.068 default                  [QTFB]: FB Repaint triggered for  1631871 . Status:  true
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: The client requested closing the connection.
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Closing client socket 96
// Manually exit koreader here
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Awaiting incoming connections to/tmp/qtfb.sock
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Connection established from client. Sock FD is 102
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: The client requested closing the connection.
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Closing client socket 102
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: The client requested closing the connection.
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Disassociating framebuffer 1631871
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Closing client socket 4
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: [QTFB]: Unregistered framebuffer controller ID: 1631871
// Click into appload and click any app
Apr 15 19:01:03 imx93-chiappa xochitl[30088]: 11:01:03.326 default                  [AppLoad]: Process for "./koreader.sh" finished with exit code 0 and status QProcess::NormalExit  
Apr 15 19:01:13 imx93-chiappa xochitl[30088]: 11:01:13.644 default                  qrc:/appload/qml/appload.qml:58: Error: Cannot assign [undefined] to QString (qrc:/appload/qml/appload.qml:58)

Step to reproduce

  • Using the latest rm-appload, using this code to start koreader:
AppLoadLauncher.launchApplication("external::koreader", [], {}, false);
  • Manually exit koreader
  • Click any app icon in appload
  • A displaced window bar appear in the upper left conner of the screen, app won't start
  • Koreader can be start again using the same code.
  • Only restart xochitl can solve this issue

Other information

koreader manifest:

{
  "name": "KOReader",
  "application": "koreader.sh",
  "environment": {
    "LD_PRELOAD": "/usr/share/xovi/shims/qtfb-shim.so",
    "QTFB_SHIM_MODEL": "false",
    "QTFB_SHIM_INPUT_MODE": "NATIVE",
    "QTFB_SHIM_MODE": "N_RGB565",
    "QTFB_SHIM_RESPECT_FULL_REFRESH_REQUESTS": "1",
    "KO_DONT_GRAB_INPUT": "1",
    "KO_DONT_SET_DEPTH": "1"
  },
  "qtfb": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions