Mister_Magister | mal: BTN_DIGI and BTN_TOOL_PEN have exact same ID in kernel so consider them the same | 00:32 |
---|---|---|
Mister_Magister | https://github.com/VerdandiTeam/android_kernel_xiaomi_sm8250/blob/b093c43effdb30c363165ae8f37c206339360c97/include/uapi/linux/input-event-codes.h#L401 | 00:32 |
*** xmn_ is now known as xmn | 03:04 | |
T42 | <TheVancedGamer> mal: figured out the 500mA on FP5 somewhat | 19:58 |
T42 | <TheVancedGamer> usb-moded does something weird it seems, possibly it tries to configure usb twice and it breaks charging | 19:58 |
T42 | <TheVancedGamer> time to debug it | 20:00 |
T42 | <TheVancedGamer> :D | 20:00 |
mal | oh | 20: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 kernel | 20:15 |
Mister_Magister | mmm I tried building lipstick locally but sadly its not happening | 21:46 |
Mister_Magister | some issue with doxygen | 21:47 |
Mister_Magister | just don't build docs 4head | 21:48 |
mal | what kind of issue? | 22:06 |
Mister_Magister | now simplecompositor is missing great | 22:15 |
Mister_Magister | wtf i'm on tag 0.36.41.4 but the version in .spec is 0.36.29 | 22:20 |
Mister_Magister | thanks jolla, very cool | 22:20 |
Mister_Magister | hmm qDebug doesn't seem to echo anything | 22:23 |
Mister_Magister | LIPSTICK_COMPOSITOR_DEBUG huh | 22:23 |
Mister_Magister | hmm nope thats not it | 22:24 |
Mister_Magister | there's absolutely nothing being echoed :/ | 22:28 |
Mister_Magister | oh I had to enter any app | 22:31 |
Mister_Magister | mal: got bad news, https://github.com/Michal-Szczepaniak/lipstick/blob/master/src/compositor/lipstickcompositorwindow.cpp#L258 pen events are not getting here | 22:35 |
mal | does qtwayland send then in any way? | 22:57 |
Mister_Magister | I have no idea how to answer that question mate | 22:59 |
Mister_Magister | what is qtwayland | 22:59 |
Mister_Magister | i'll try messages in handleTouchEvent | 23:02 |
Mister_Magister | mmm nothing | 23:05 |
Mister_Magister | its tabletevent after all not touchevent | 23:07 |
Mister_Magister | idk where to go from here | 23:09 |
Mister_Magister | I don't feel like rebuilding entire qtbase just to add debug logs ;-; | 23:17 |
Mister_Magister | time for some good old gdb | 23:19 |
Mister_Magister | from the evdev plugin its getting here https://github.com/sailfishos/qtbase/blob/fc8c8fcfe0c624fe525f90a3090d0f958a997694/src/gui/kernel/qwindowsysteminterface.cpp#L427 | 23:30 |
Mister_Magister | I THINK I FOUND IT | 23:44 |
Mister_Magister | i stepped through qt till I landed in lipstick | 23:45 |
Mister_Magister | HELL YE | 23:46 |
Mister_Magister | ladies and gentlemen it is HERE https://github.com/Michal-Szczepaniak/lipstick/blob/master/src/compositor/lipstickcompositor.cpp#L921 | 23:46 |
Mister_Magister | so i betcha it will be in event() of compositorwindow | 23:47 |
Mister_Magister | then it goes into QWaylandSurfaceItem::event() | 23:48 |
Mister_Magister | and I have no source for that | 23:48 |
mal | you mean src/compositor/compositor_api/qwaylandsurfaceitem.cpp of qtwayland? | 23:49 |
Mister_Magister | perhaps | 23:49 |
mal | https://github.com/sailfishos/qtwayland/blob/mer-5.6/src/compositor/compositor_api/qwaylandsurfaceitem.cpp | 23:49 |
Mister_Magister | ah thanks github failed me, i searched wayland in sailfishos and nothing came up | 23:49 |
Mister_Magister | https://github.com/sailfishos?q=wayland&type=all&language=&sort= see | 23:50 |
mal | you were searching repos, use the search in top to search for code | 23:50 |
Mister_Magister | hmm is it just me or it doesn't handle it | 23:50 |
Mister_Magister | maybe QWaylandSurfaceView | 23:51 |
mal | it should have shown you correct place if you looked for QWaylandSurfaceItem | 23:51 |
Mister_Magister | nnno | 23:51 |
Mister_Magister | it goes into qquickitem | 23:51 |
Mister_Magister | mal: any ideas at this point | 23:51 |
mal | LipstickCompositorWindow inherits that QWaylandSurfaceItem | 23:51 |
Mister_Magister | i know | 23:52 |
Mister_Magister | but it doesn't handle it | 23:52 |
Mister_Magister | it goes straight into qquickitem | 23:52 |
Mister_Magister | cause QWaylandSurfaceItem extends qquickitem | 23:52 |
mal | so you have the event in LipstickCompositor::event ? | 23:52 |
Mister_Magister | I can make 100% sure | 23:52 |
Mister_Magister | yes | 23:52 |
Mister_Magister | wait, let me make 100% sure as its still compositor | 23:53 |
Mister_Magister | mal: ah sorry LipstickCompositor::event yes | 23:54 |
Mister_Magister | i'm just not sure if its in LipstickCompositorWindow::event | 23:54 |
Mister_Magister | LipstickCompositor::event:924 - Compositor event: QEvent::Type(TabletMove) | 23:54 |
Mister_Magister | no, its not getting to LipstickCompositorWindow::event | 23:55 |
mal | that seems to only do special handling for mouse buttons, where do the rest get handled in? | 23:56 |
mal | it goes to QQuickWindow::event but where from there | 23:56 |
mal | that should be in qtdeclarative repo | 23:56 |
Mister_Magister | let me run gdb again | 23:57 |
Mister_Magister | its getting to LipstickCompositor::event but not LipstickCompositorWindow::event | 23:57 |
Mister_Magister | as arecap | 23:57 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!