Wednesday, 2025-08-13

Mister_Magistermal: BTN_DIGI and BTN_TOOL_PEN have exact same ID in kernel so consider them the same00:32
Mister_Magisterhttps://github.com/VerdandiTeam/android_kernel_xiaomi_sm8250/blob/b093c43effdb30c363165ae8f37c206339360c97/include/uapi/linux/input-event-codes.h#L40100:32
*** xmn_ is now known as xmn03:04
T42<TheVancedGamer> mal: figured out the 500mA on FP5 somewhat19:58
T42<TheVancedGamer> usb-moded does something weird it seems, possibly it tries to configure usb twice and it breaks charging19:58
T42<TheVancedGamer> time to debug it20:00
T42<TheVancedGamer> :D20:00
maloh20:14
T42<morciatka> usb-moded is behaving weird also on my 7TP port, but that's most likely also due to the weird CD/ROM ISO emulation that OnePlus baked into the kernel20:15
Mister_Magistermmm I tried building lipstick locally but sadly its not happening21:46
Mister_Magistersome issue with doxygen21:47
Mister_Magisterjust don't build docs 4head21:48
malwhat kind of issue?22:06
Mister_Magisternow simplecompositor is missing great22:15
Mister_Magisterwtf i'm on tag 0.36.41.4 but the version in .spec is 0.36.2922:20
Mister_Magisterthanks jolla, very cool22:20
Mister_Magisterhmm qDebug doesn't seem to echo anything22:23
Mister_MagisterLIPSTICK_COMPOSITOR_DEBUG huh22:23
Mister_Magisterhmm nope thats not it22:24
Mister_Magisterthere's absolutely nothing being echoed :/22:28
Mister_Magisteroh I had to enter any app22:31
Mister_Magistermal: got bad news, https://github.com/Michal-Szczepaniak/lipstick/blob/master/src/compositor/lipstickcompositorwindow.cpp#L258 pen events are not getting here22:35
maldoes qtwayland send then in any way?22:57
Mister_MagisterI have no idea how to answer that question mate22:59
Mister_Magisterwhat is qtwayland22:59
Mister_Magisteri'll try messages in handleTouchEvent23:02
Mister_Magistermmm nothing23:05
Mister_Magisterits tabletevent after all not touchevent23:07
Mister_Magisteridk where to go from here23:09
Mister_MagisterI don't feel like rebuilding entire qtbase just to add debug logs ;-;23:17
Mister_Magistertime for some good old gdb23:19
Mister_Magisterfrom the evdev plugin its getting here https://github.com/sailfishos/qtbase/blob/fc8c8fcfe0c624fe525f90a3090d0f958a997694/src/gui/kernel/qwindowsysteminterface.cpp#L42723:30
Mister_MagisterI THINK I FOUND IT23:44
Mister_Magisteri stepped through qt till I landed in lipstick23:45
Mister_MagisterHELL YE23:46
Mister_Magisterladies and gentlemen it is HERE https://github.com/Michal-Szczepaniak/lipstick/blob/master/src/compositor/lipstickcompositor.cpp#L92123:46
Mister_Magisterso i betcha it will be in event() of compositorwindow23:47
Mister_Magisterthen it goes into QWaylandSurfaceItem::event()23:48
Mister_Magisterand I have no source for that23:48
malyou mean src/compositor/compositor_api/qwaylandsurfaceitem.cpp of qtwayland?23:49
Mister_Magisterperhaps23:49
malhttps://github.com/sailfishos/qtwayland/blob/mer-5.6/src/compositor/compositor_api/qwaylandsurfaceitem.cpp23:49
Mister_Magisterah thanks github failed me, i searched wayland in sailfishos and nothing came up23:49
Mister_Magisterhttps://github.com/sailfishos?q=wayland&type=all&language=&sort= see23:50
malyou were searching repos, use the search in top to search for code23:50
Mister_Magisterhmm is it just me or it doesn't handle it23:50
Mister_Magistermaybe QWaylandSurfaceView23:51
malit should have shown you correct place if you looked for QWaylandSurfaceItem23:51
Mister_Magisternnno23:51
Mister_Magisterit goes into qquickitem23:51
Mister_Magistermal: any ideas at this point23:51
malLipstickCompositorWindow inherits that QWaylandSurfaceItem23:51
Mister_Magisteri know23:52
Mister_Magisterbut it doesn't handle it23:52
Mister_Magisterit goes straight into qquickitem23:52
Mister_Magistercause QWaylandSurfaceItem extends qquickitem23:52
malso you have the event in  LipstickCompositor::event ?23:52
Mister_MagisterI can make 100% sure23:52
Mister_Magisteryes23:52
Mister_Magisterwait, let me make 100% sure as its still compositor23:53
Mister_Magistermal: ah sorry LipstickCompositor::event yes23:54
Mister_Magisteri'm just not sure if its in LipstickCompositorWindow::event23:54
Mister_MagisterLipstickCompositor::event:924 - Compositor event:  QEvent::Type(TabletMove)23:54
Mister_Magisterno, its not getting to LipstickCompositorWindow::event23:55
malthat seems to only do special handling for mouse buttons, where do the rest get handled in?23:56
malit goes to QQuickWindow::event but where from there23:56
malthat should be in qtdeclarative repo23:56
Mister_Magisterlet me run gdb again23:57
Mister_Magisterits getting to LipstickCompositor::event but not LipstickCompositorWindow::event23:57
Mister_Magisteras arecap23:57

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!