View Single Post
Old 02-05-2024, 06:58 PM   #60
elinkser
Addict
elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.elinkser has survived committing the World's Second Greatest Blunder.
 
Posts: 242
Karma: 146236
Join Date: Oct 2022
Device: Kobo Clara HD
***

That's the spirit!
Raisjn mentioned that quick exit too.
So I am trying to find the entry points (leaving threading for raisjn.)

Did the usual edits from Post #58.

New edit 0205:

$ nano -l src/remux/launcher.cpy
Code:
...
 243     void on_row_selected(string name):
 244       CURRENT_APP = name
 245       debug "AppDialog:on_row_selected:HIDE"
 246       self.hide()
...
 264       if bin != "":
 265         c->mouse.click += PLS_LAMBDA(auto &ev) {
 266           if app_name == APP_NICKEL.name:
 267             debug "AppDialog:render_row:CLICK_APP_NICKEL"
 268             return
...

$ nano -l src/rmkit/ui/pager.cpy
Code:
...
79       debug "AppDialog:ui::Pager:on_button_selected"
...


Now after running rmkit and swiping up gives messages:

Spoiler:

NOT SHOWING LAUNCHER IN LANDSCAPE
CURRENT APP IS Nickel
current app took 0.0277973
SENDING 19 TO GROUP -198 RET 0
SENDING 19 TO GROUP -66 RET 0
stopping apps took 0.0181257
SNAPSHOTTING Nickel
COMP TOOK 0.149476 TOTAL SIZE 984 KBYTES, 63017 ELEMENTS
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0292333
SETTING SCREEN DEPTH 32


And I get the launcher menu.

Clicked on Nickel menu entry to close the launcher and got:

Spoiler:

AppDialog:ui::Pager: on_button_selected
AppDialog: on_row_selected:HIDE
DISPLAYED LAUNCHER FOR 27260 MS
LAUNCHING APP Nickel Nickel
POWER MANAGEMENT: 0
RESETTING MT GESTURES
SENDING 18 TO GROUP -198 RET 0
CHECKING PROCESS nickel 1
nickel IS ALREADY RUNNING, RESUMING
SENDING 18 TO GROUP -66 RET 0
RENDERING Nickel
DECOMP TOOK 0.0108113
SETTING SCREEN DEPTH 32



If I had clicked on any blank area outside the menu area:

Spoiler:

DISPLAYED LAUNCHER FOR 58198 MS
LAUNCHING APP Nickel Nickel
POWER MANAGEMENT: 0
RESETTING MT GESTURES
SENDING 18 TO GROUP -198 RET 0
CHECKING PROCESS nickel 1
nickel IS ALREADY RUNNING, RESUMING
SENDING 18 TO GROUP -66 RET 0
RENDERING Nickel
DECOMP TOOK 0.0122603
SETTING SCREEN DEPTH 32


And I'm back in Nickel.

If I had swiped up to show the launcher menu and clicked right at the end of the swipe:

Spoiler:

NOT SHOWING LAUNCHER IN LANDSCAPE
CURRENT APP IS Nickel
current app took 0.024241
SENDING 19 TO GROUP -198 RET 0
SENDING 19 TO GROUP -66 RET 0
stopping apps took 0.01792
SNAPSHOTTING Nickel
COMP TOOK 0.150162 TOTAL SIZE 984 KBYTES, 62997 ELEMENTS
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0294837
SETTING SCREEN DEPTH 32
DISPLAYED LAUNCHER FOR 950 MS
LAUNCHING APP Nickel Nickel
POWER MANAGEMENT: 0
RESETTING MT GESTURES
SENDING 18 TO GROUP -198 RET 0
CHECKING PROCESS nickel 1
nickel IS ALREADY RUNNING, RESUMING
SENDING 18 TO GROUP -66 RET 0
RENDERING Nickel
DECOMP TOOK 0.013944
SETTING SCREEN DEPTH 32


And I'm back in Nickel.

If I had clicked on input_demo instead of Nickel in laucher menu:

Spoiler:

AppDialog:ui::Pager: on_button_selected
AppDialog: on_row_selected:HIDE
DISPLAYED LAUNCHER FOR 36504 MS
LAUNCHING APP input_demo input_demo
POWER MANAGEMENT: 1
RESETTING MT GESTURES
CHECKING PROCESS input_demo 0
RENDERING input_demo
[FBInk] Detected a Kobo Clara HD (376 => Nova @ Mark 7)
[FBInk] Enabled Kobo Mark 7 quirks
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 300 dpi
[FBInk] Variable fb info: 1072x1448, 32bpp @ rotation: 3 (Counter Clockwise, 270°)
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 6782976 bytes & line length: 4352 bytes
[FBInk] Canonical rotation: 0 (Upright, 0°)
[FBInk] Fontsize set to 24x24 (IBM base glyph size: 8x8)
[FBInk] Line length: 44 cols, Page size: 60 rows
[FBInk] Vertical fit isn't perfect, shifting rows down by 4 pixels
[FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
W: 1072 H: 1448 S: 1088
SETTING SCREEN DEPTH 32
DECOMP TOOK 0.0110073
SETTING SCREEN DEPTH 32
RUNNING ON CLARA HD
OPENING /dev/input/event0 AS BUTTONS
OPENING /dev/input/event1 AS TOUCH
ERROR OPENING INPUT DEVICE /dev/input/event2
ERROR OPENING INPUT DEVICE /dev/input/event3
ERROR OPENING INPUT DEVICE /dev/input/event4




***

Last edited by elinkser; 02-27-2024 at 07:15 PM.
elinkser is offline