| amunizp | arno11: thank you reading into rescueOS now but I can't find the img file | 00:02 |
|---|---|---|
| Wizzup | what about doing it from maemo-lete? | 00:04 |
| Wizzup | leste* | 00:04 |
| Wizzup | or did I miss something | 00:04 |
| amunizp | It boots to the pin code even with the keyboard open @Wizzup | 00:04 |
| Wizzup | did you remove the script that I mentioned in the mailing list?> | 00:05 |
| freemangordon | did you flash u-boot? | 00:05 |
| amunizp | I can't get to it. without logging in? | 00:05 |
| Wizzup | amunizp: take the microsd card and mount it on your linux machine | 00:06 |
| amunizp | Yes I did flasboot. Ohhh ohhh I guess I can get to when I am flashing? | 00:06 |
| Wizzup | then go to the mount point and remove the file (remove the leading slash from the path I mentioned n the mail) | 00:06 |
| Wizzup | no, you can just monut the microsd card that you dd'ed | 00:06 |
| amunizp | ARG of course! silly me! | 00:06 |
| Wizzup | :) | 00:06 |
| freemangordon | Wizzup: he did not flash u-boot afaik | 00:06 |
| freemangordon | and noe its fremantle kernal that boots | 00:07 |
| freemangordon | *now | 00:07 |
| Wizzup | he said the problem was that leste gave him the pin block | 00:10 |
| Wizzup | so if he removes the script from the leste sd card | 00:10 |
| Wizzup | he can boot to leste without the pin block | 00:10 |
| Wizzup | then he can do whatever | 00:10 |
| Wizzup | you don't need to flash (perma write) uboot or the kernel to boot leste | 00:11 |
| Wizzup | you can just load u-boot, boot it, and then pick leste sd card and it's all ok | 00:11 |
| freemangordon | Wizzup: agree, but he still needs to boot u-boot somehow | 00:11 |
| Wizzup | freemangordon: again, 0xffff | 00:18 |
| Wizzup | see our wiki | 00:18 |
| unic0rn | idle has no utf-8 support? | 02:12 |
| unic0rn | also, a list of nicknames would be very nice ;) unless there's an option to just send /names, but it seems it sends everything as privmsg | 02:16 |
| unic0rn | sidenote, I guess account nickname shouldn't be treated as account name, since when you're trying to use the same nickname for 2 irc networks, that won't work | 02:39 |
| unic0rn|maemo | and new message seems borked, unable to choose target | 03:22 |
| unic0rn|maemo | sms works from within contacts obviously, on irc the other side has to start priv | 03:23 |
| Wizzup | yes, 'new message' window is unfinished. | 03:31 |
| unic0rn|maemo | got it | 03:39 |
| freemangordon | Wizzup: yesterday I gad duplicated messages from hazwe | 08:40 |
| freemangordon | *haze | 08:40 |
| freemangordon | so I wonder if duplicated SMS-es is not the same issue | 08:41 |
| freemangordon | also *my* messages got duplicated | 08:43 |
| freemangordon | dsc_: [W] [ChatRoot.qml::227] qrc:/components/ChatRoot.qml:227:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... } | 08:43 |
| freemangordon | Wizzup: scratch that | 08:49 |
| freemangordon | I was just able to trigger that by typing lots of messages from both sides | 08:50 |
| freemangordon | so one of my messages came as a scrollback | 08:50 |
| freemangordon | ok, there is a race in purple-fb, going to fix it | 09:25 |
| Wizzup | hi | 12:09 |
| Wizzup | okay, cool | 12:10 |
| freemangordon | dsc_: one more thing - we lack "clear conversation" option | 16:45 |
| Wizzup | yup we do | 16:47 |
| freemangordon | whre? | 16:49 |
| freemangordon | ah, we lack :) | 16:49 |
| Wizzup | yeah | 16:57 |
| Wizzup | freemangordon: I am talking with dsc just now and I'd like to suggest that we handle qmenu in qt differently | 17:31 |
| Wizzup | Currently it will find all actions on all menus and submenus and render them in the qmenubar | 17:31 |
| Wizzup | I would like to suggest that any submenu's actions we don't render, and instead render a button to enter the actions only of that submenu | 17:32 |
| Wizzup | I think to do that we mostly just need to keep track where in the menu we are, and make line 145 to 177 a re-usable function: https://github.com/maemo-leste/qt-platform-maemo/blob/master/src/plugins/platforms/xcb-maemo/qmenu_maemo.cpp#L145 | 17:32 |
| Wizzup | and of course make recurisveAddActions not recursive, but instead aware of the current (sub) menu you're in | 17:32 |
| Wizzup | so we'd just keep track of the current menu of the action basically https://doc.qt.io/qt-6/qaction.html#menu | 17:41 |
| Wizzup | I forgot that sphone doesn't restart when it crashes, lol, apparently something made it crash and I thought my call wasn't started, but then when I started it apparently I was in a call and the other party could suddenly hear me | 17:58 |
| freemangordon | Wizzup: why do we need that? | 18:48 |
| freemangordon | (submenus) | 18:48 |
| Wizzup | because menus are a total mess currently | 18:52 |
| Wizzup | all actions are recursively added | 18:53 |
| Wizzup | so it's not possible to have a sensible grouping of menus | 18:53 |
| Wizzup | simple case for conversations is to have a menu option that says filters which then gives you a subset of filters: all, sms, xmpp, etc | 18:53 |
| freemangordon | I understand, but which particular issue makes you reconsider that right now | 18:53 |
| Wizzup | (then we bar at the top can go) | 18:53 |
| Wizzup | then the* | 18:53 |
| freemangordon | ok | 18:53 |
| freemangordon | got teh usecase | 18:53 |
| freemangordon | Wizzup: btw, what do you think is wrong with fremantle conversations UI? | 18:54 |
| Wizzup | I think we've discussed this plenty times prior, but just the most recent message is not enough | 18:55 |
| freemangordon | like, why do we insist to push android app/serice-centric view of the world to the conversations? | 18:55 |
| Wizzup | I get slack messages form work every 30 seconds | 18:56 |
| Wizzup | in about 50 different channels | 18:56 |
| Wizzup | I don't want those to push my SMS away | 18:56 |
| freemangordon | your 30s messages are in single group? or not | 18:57 |
| freemangordon | ah, 50 channels | 18:57 |
| freemangordon | sorry, just had a nap and am still slightly disoriented :) | 18:58 |
| Wizzup | no worries | 18:59 |
| Wizzup | I started writing the code for qt platform code btw | 18:59 |
| freemangordon | ok | 18:59 |
| Wizzup | we'll see if it makes sense when it works | 18:59 |
| freemangordon | mhm | 18:59 |
| freemangordon | it does not conform to any hildon UI/UX, but lets see | 18:59 |
| freemangordon | I wonder UI wise how would you render the 'back' button | 19:00 |
| freemangordon | or, it would be yet another modal box on top? | 19:01 |
| freemangordon | Wizzup: re slack pushing you sms - you have separate notification for sms, no? | 19:03 |
| Wizzup | freemangordon: just the first button as '..' or something | 19:07 |
| Wizzup | the separate notification doesn't prevent everything getting pushed way down | 19:08 |
| freemangordon | right, but you still see it in the tasknav | 19:08 |
| freemangordon | not up or down | 19:08 |
| freemangordon | see, I don't object to have smarter UI | 19:09 |
| freemangordon | but maybe you shall discuss the plans for UI/UX with more people, who might have different needs/usecases, dunno | 19:10 |
| freemangordon | but having non contact-centric conversations UI breaks maemo idea IMO | 19:11 |
| uvos | freemangordon: another usecase for the recursive qmenu is every desktop application ever. since they have way to many qactions and expect the hierachy to make it manageble | 19:12 |
| freemangordon | uvos: that's clear, my question was rather "why now", knowing they work on conversations ;) | 19:13 |
| freemangordon | Wizzup: OTOH, I don;t want to push my understanding, so a little public discussion wont hurt | 19:13 |
| Wizzup | I don't think it breaks maemo idea at all | 19:14 |
| freemangordon | could be, but I still don;t know what you mean | 19:15 |
| freemangordon | like, what UI/UX will look like? | 19:15 |
| Wizzup | exactly the same as now... just the top bar is gone | 19:16 |
| freemangordon | ok, but instead of moving to the menu... | 19:16 |
| Wizzup | what? | 19:17 |
| Wizzup | It will be moved to the menu | 19:17 |
| Wizzup | Current: black bar with text and horizontal scroll with All, SMS, XMPP, etc | 19:17 |
| freemangordon | can't it be moved to the left, with just an icon representing the service? | 19:17 |
| freemangordon | yes, got it | 19:17 |
| Wizzup | Suggested: 'Filters.' option in the menu, and from the Filters you can click: All, SMS, XMPP, etc. | 19:17 |
| freemangordon | I can;t stand it too :D | 19:18 |
| Wizzup | I don't think we have space on the left | 19:18 |
| freemangordon | if it is only an icon | 19:18 |
| freemangordon | we have | 19:18 |
| Wizzup | where would the icon go | 19:18 |
| Wizzup | I don't understand | 19:18 |
| freemangordon | sec | 19:18 |
| freemangordon | gimme 5 minutes, I will try to mock | 19:19 |
| Wizzup | well we have just the list of recent messages | 19:19 |
| Wizzup | to the left is the service icon of each mesasgew | 19:19 |
| Wizzup | to the right their contact icon | 19:19 |
| freemangordon | no, to the left we may move the current 'filter' bar | 19:20 |
| Wizzup | so then there's less space for everything, right? | 19:20 |
| Wizzup | try conversations in portrait mode | 19:20 |
| freemangordon | oh, right | 19:20 |
| freemangordon | yeah, ok | 19:21 |
| freemangordon | lets see how ould it look like | 19:22 |
| Wizzup | ok | 19:22 |
| uvos | i really dont care about conversations, but i do want desktop applications to work better :P | 19:22 |
| freemangordon | do you want me to start implementing contact search? | 19:22 |
| Wizzup | yeah, maybe check with dsc, but I think that is helpful | 19:22 |
| freemangordon | uvos: heh | 19:22 |
| Wizzup | we cound also add the 'Accounts' menu option like on fremantle | 19:22 |
| freemangordon | that's just a dbus call | 19:23 |
| Wizzup | yes, just saying :) | 19:23 |
| freemangordon | yeah | 19:23 |
| freemangordon | ok, lets spend some time on connui-cellular first | 19:23 |
| sicelo | the silent-mic issue ... btw was a solution (or cause) found yet | 19:24 |
| uvos | no | 19:24 |
| freemangordon | "but then when I started it apparently I was in a call and the other party could suddenly hear me " | 19:25 |
| freemangordon | sounds like he's on something | 19:25 |
| sicelo | for some reason i can't install pavucontrol. wanted to check mixer state | 19:25 |
| uvos | no | 19:25 |
| uvos | if his sphone crashed then the ucm mode was not swiched untill he started it | 19:26 |
| uvos | thats perfectly usual behavior (besides the crash ofc) | 19:26 |
| freemangordon | sicelo: how's that? | 19:26 |
| freemangordon | Installed: 4.0-2 | 19:26 |
| freemangordon | 500 https://pkgmaster.devuan.org/merged chimaera/main armhf Packages | 19:26 |
| sicelo | no idea. I'm checking my repo config | 19:27 |
| freemangordon | another topic - currently we have trafic limit option, that issues warning when the limit is reached | 19:28 |
| sicelo | main issue is - in my case, silent-mic is there almost 100% of the time (when using vcm/tp) | 19:28 |
| sicelo | freemangordon: gprs? | 19:28 |
| freemangordon | shall I make it support limit per modem, or SIM, or? | 19:28 |
| freemangordon | mhm | 19:28 |
| sicelo | i think in most cases it's modem based. might be wrong | 19:30 |
| uvos | sicelo: you could dump the cpcap regs in the failed state and diff with https://uvos.xyz/maserati/stockinfo/call/handset.txt | 19:30 |
| sicelo | i.e. sim based would end up with dozens of 'profiles' | 19:30 |
| uvos | if the audio related ones are the same then the problem is not between the dai of the modem and the mic | 19:30 |
| uvos | so it pretty mutch has to be internal to the modem | 19:30 |
| uvos | maybe something is racey there | 19:31 |
| sicelo | that said, sim based would be the most convenient in the long run... more work | 19:31 |
| freemangordon | sicelo: ok, but I wonder if ofono supports such thing at all | 19:31 |
| freemangordon | like, how do I know the traffic | 19:31 |
| sicelo | i don't think it's done through ofono | 19:32 |
| freemangordon | we have CallMeter, but it is for voice | 19:32 |
| * freemangordon checks | 19:32 | |
| uvos | ofono is not really involved with data that mutch | 19:32 |
| freemangordon | there is no ofono in fremantle anyways | 19:32 |
| freemangordon | but where they got trafic info from? | 19:32 |
| uvos | for leste you would have to montior trafic wwan interface via the usual methods | 19:32 |
| uvos | no idea | 19:32 |
| uvos | maybe same? | 19:33 |
| freemangordon | no, it is some modem interface | 19:33 |
| freemangordon | I think ISI provides that info | 19:33 |
| uvos | ok | 19:33 |
| uvos | any how for us, kernel has staticstics for the network interface, that should be enough or? | 19:34 |
| freemangordon | perhaps | 19:34 |
| freemangordon | but how to match modem to interface? | 19:34 |
| freemangordon | maybe ofono provides the info | 19:34 |
| uvos | i mean icd must know somehow | 19:35 |
| uvos | since it needs to set the route and make the modem connect via qmi | 19:35 |
| freemangordon | icd calls ofonop | 19:35 |
| freemangordon | *ofono | 19:35 |
| uvos | for setting up the ip/ route too? | 19:35 |
| uvos | ok | 19:35 |
| freemangordon | but yeah, I think we get the interface | 19:35 |
| freemangordon | lemme check something | 19:35 |
| Wizzup | freemangordon: any idea how to reset the widget layout?\ | 19:37 |
| dsc_ | loop the items, remove them | 19:38 |
| Wizzup | just delete apparently | 19:38 |
| Wizzup | dsc_: hmm ok | 19:39 |
| freemangordon | I think there is deleteAll() | 19:39 |
| dsc_ | Wizzup: https://github.com/maemo-leste/conversations/blob/master/src/overview/overviewwidget.cpp#L80-L89 | 19:39 |
| sicelo | freemangordon: ofono doesn't have an interface that tracks data transferred. this is job of the connection manager (icd, etc.) | 19:41 |
| freemangordon | yeah, looks like | 19:41 |
| Wizzup | https://wizzup.org/qtsubmenu.png | 19:43 |
| Wizzup | er | 19:43 |
| Wizzup | not png | 19:43 |
| Wizzup | wait | 19:43 |
| dsc_ | swf | 19:44 |
| Wizzup | https://wizzup.org/qt-submenu.mp4 | 19:44 |
| Wizzup | so there's no back button yet and the layout isn't actually properly removed :) | 19:44 |
| Wizzup | but it's a start | 19:44 |
| dsc_ | cool :) | 19:44 |
| uvos | spawning a new window for the sub menu might be better since you then get the animation for free and back would just be clicking anywhere outside? | 19:46 |
| Wizzup | dsc_: ok, thx, I will look at this a bit later | 19:46 |
| Wizzup | I considered it and I think it's not better | 19:46 |
| Wizzup | it'll be too flashy/animationy | 19:46 |
| uvos | animationy :P | 19:46 |
| Wizzup | btw my razr battery is estimaged currently at 2423mAh | 19:47 |
| Wizzup | estimated* | 19:47 |
| uvos | its the same battery as bw8x | 19:47 |
| uvos | and those have also survived really well | 19:47 |
| Wizzup | yeah | 19:48 |
| Wizzup | I will see if I can get another sim to work in the razr | 19:48 |
| uvos | the chemisty in hw4x/eb41 is just - not great | 19:48 |
| Wizzup | my croatian one just doesn't connect to the right carrier | 19:48 |
| Wizzup | (only in the razr) | 19:48 |
| freemangordon | Wizzup: I think the animation makes sense | 19:48 |
| freemangordon | it is inconsistent otherwise | 19:48 |
| freemangordon | at least by looking at the video | 19:49 |
| freemangordon | /sys/class/net/$IF/statistics | 20:02 |
| freemangordon | uvos: ^^^ | 20:02 |
| sicelo | doesn't icd2 already count the traffic? | 20:04 |
| freemangordon | I don;t think so | 20:04 |
| freemangordon | actually, dunno | 20:05 |
| sicelo | I'd like to think it does | 20:05 |
| uvos | and if it dose it hopefully just exposes the kernel stats | 20:05 |
| freemangordon | original fremantle gprs plugin gets the statistics from the modem | 20:07 |
| freemangordon | com.nokia.csd.GPRS | 20:07 |
| sicelo | ah | 20:07 |
| freemangordon | there is DataCounters signal | 20:08 |
| freemangordon | no, we can listen to sysfs changes | 20:08 |
| sicelo | yes that won't scale in this case ... because what will be done with qcom modems, etc. guess icd2 should start counting (via kernel stats or something else) | 20:09 |
| freemangordon | but I wonder if it wouldn;t result in unnecessary wake-up for every byte | 20:09 |
| sicelo | how does vnstat do it btw? | 20:09 |
| freemangordon | I didn;t get the issue with qcom | 20:09 |
| freemangordon | there is network interface after all, no | 20:09 |
| * freemangordon attaches quictel to VM | 20:10 | |
| sicelo | i meant ... we can't depend on ISI features (if it reports the usage itself) | 20:10 |
| sicelo | so yes, count at either kernel (sys, proc, etc) or somehow within icd itself (new feature?) | 20:11 |
| freemangordon | /sys/class/net/wwan0/statistics/ | 20:11 |
| freemangordon | lemme see if there is some dbus interface for that | 20:12 |
| sicelo | dbus would need to come from connection manager :-) | 20:13 |
| sicelo | ip -s link show <iface> also did stats. no idea if it has some library | 20:14 |
| freemangordon | yeah | 20:15 |
| freemangordon | (dbus) | 20:15 |
| freemangordon | I wonder what is the proper way to listen to those sysfs files changing | 20:15 |
| sicelo | not a bad idea to look at how NM does this. i recall they have something, although they specify it's not too accurate | 20:22 |
| freemangordon | sicelo: my question is rather - how to listen for values changing, without causing too much wake-ups | 20:22 |
| freemangordon | like - shall I poll every 30 seconds or so? or, shall I select() on those files? | 20:23 |
| freemangordon | uvos: ^^^ | 20:23 |
| freemangordon | what do you think? | 20:23 |
| freemangordon | hmm, libnl it seems | 20:28 |
| freemangordon | ok, I cannot find any other way but to poll | 21:14 |
| freemangordon | what the? | 21:14 |
| Wizzup | dsc_: I think you code you shared doesn't work with nested layouts right | 21:16 |
| freemangordon | Wizzup: are you aware of any other option to get net iface statistics change but to poll? | 21:18 |
| Wizzup | hm... | 21:18 |
| Wizzup | my gut feeling says netlink but I have no idea | 21:18 |
| freemangordon | yes, netlink, but there are no events I was able to find | 21:18 |
| freemangordon | like, you issue "getstat" and get reply | 21:19 |
| freemangordon | but that's polling | 21:19 |
| Wizzup | well what event do you want, for every x packets? | 21:19 |
| freemangordon | for example | 21:19 |
| freemangordon | don't tell me I have to write nftables script :) | 21:20 |
| Wizzup | networking is not my strong suit | 21:21 |
| freemangordon | hmm, it seems nftables won;t do the job, all I see they can do re userspace is to log events | 21:29 |
| freemangordon | I am not sure I want to hook on the kernel ring buffer to receive rx/tx bytes changed | 21:30 |
| Wizzup | why do you need it in real time? | 21:34 |
| freemangordon | I don't | 21:34 |
| freemangordon | but how often do I need it? | 21:34 |
| freemangordon | like, what would be the sane polling interval? | 21:34 |
| Wizzup | when icd stops and starts, when the ui wants updates, an to make suer we don't pass some limit? | 21:34 |
| freemangordon | the latter | 21:35 |
| Wizzup | can't you do that with nftables/ | 21:35 |
| freemangordon | we can set traffic (home/roaming) warning | 21:35 |
| freemangordon | we can, but how to get that 'threshold reached" event to the UI? | 21:35 |
| freemangordon | we don;t want to block the trafic on limit reached, but to warn the user and make him decide what to do | 21:36 |
| Wizzup | how does it work in fremantle? | 21:37 |
| Wizzup | (also these details I would urge you to leave for later) | 21:37 |
| freemangordon | seems modem sends statistics update | 21:37 |
| freemangordon | some DataCounters signal on com.nokia.csd.GPRS | 21:38 |
| freemangordon | no idea how often it is sends | 21:38 |
| freemangordon | or what triggers it | 21:38 |
| freemangordon | hmm, StatusInterval | 21:39 |
| Wizzup | how sailfish do this? | 21:40 |
| freemangordon | how do I know :) | 21:41 |
| freemangordon | do they support this? | 21:41 |
| Wizzup | I don't know | 21:42 |
| freemangordon | hmm, how am I supposed to use https://web.archive.org/web/20240000000000*/http://www.cncmods.net/files/dbus/gprs-dbus.txt ? | 21:42 |
| Wizzup | do you have a working link for this | 21:43 |
| freemangordon | link for what? | 21:43 |
| freemangordon | I need gprs-dbus.txt | 21:44 |
| Wizzup | oh, I see, you're trying to get it but are having the same trouble as me | 21:44 |
| Wizzup | it looks like the crawls failed | 21:44 |
| freemangordon | I am getting that calendar | 21:44 |
| freemangordon | anyway | 21:44 |
| freemangordon | oh, wait | 21:45 |
| freemangordon | found it through some other channel :) | 21:45 |
| freemangordon | ok, I have to check who sets StatusInterval on fremantle | 21:46 |
| sicelo | that gprs-dbus.txt stuff looks like ofono for the most part, besides the RX/TX bytes | 22:19 |
| sicelo | NM is using nl as well ... https://www.mail-archive.com/networkmanager-list@gnome.org/msg28854.html | 22:20 |
| freemangordon | sicelo: that file is actually comes with csd-gprs_1.0.13+0m5_armel | 22:22 |
| freemangordon | it is in /usr/share... as DBUS-INTERFACE | 22:22 |
| freemangordon | ok, I feel stupid, but, how to use dbus-send to get some property? | 22:23 |
| freemangordon | Wizzup: ^^^ | 22:23 |
| sicelo | why don't you use modern tools :-P | 22:23 |
| sicelo | busctl ... gdbus | 22:24 |
| freemangordon | on n900? | 22:24 |
| freemangordon | https://pastebin.com/C6fHSKuG | 22:24 |
| sicelo | yes both tools exist by default in Leste | 22:24 |
| freemangordon | on leste we don;t have such interface ;) | 22:24 |
| freemangordon | so it is about fremantle :) | 22:24 |
| sicelo | ah :-) | 22:25 |
| freemangordon | so, how to get StatusInterval property using dbus-send? | 22:25 |
| sicelo | dbus-send is the thing that made dbus appear to be difficult. anyway, there's mdbus2 for fremantle. much easier tool | 22:27 |
| freemangordon | dict entry( | 22:37 |
| freemangordon | string "StatusInterval" | 22:37 |
| freemangordon | variant uint32 1000 | 22:37 |
| freemangordon | ) | 22:37 |
| freemangordon | ok, on seems fremantle updates counters every second | 22:38 |
| freemangordon | s/on seems/seems | 22:38 |
| Wizzup | freemangordon: ok so for the most part this is all working fine now, https://wizzup.org/qt-submenu.mp4 | 22:39 |
| Wizzup | the only problem I still have to tackle is when an application has just a single menu with actions under it and no submenus or anything, then we just want to show those I think | 22:39 |
| Wizzup | right now it might show just 'menu..' and then you get to the actual menus | 22:40 |
| Wizzup | (and no I still don't think animation is a good idea :D) | 22:40 |
| freemangordon | no, please, animation is a good idea | 22:40 |
| freemangordon | that makes it consistent | 22:40 |
| freemangordon | if main menu opens with animation, so shall submenus do | 22:41 |
| freemangordon | otherwise it looks half-baked | 22:41 |
| freemangordon | great job otherwise | 22:42 |
| dsc_ | navigating through these menus will work fine, nice | 22:45 |
| freemangordon | sicelo: ok, how that 1s timer does not affect battery life? | 22:45 |
| sicelo | no idea :-D | 22:46 |
| Wizzup | I won't add animation since I think it's not a good use of my time, user time and cpu/battery | 22:46 |
| sicelo | guess because it's quick? | 22:46 |
| Wizzup | can you please explain why we need some window disappear and re-appear animation, like the menu just disappears? | 22:46 |
| Wizzup | how is it not clear that the menu structure updated? | 22:46 |
| sicelo | freemangordon: is it possible that the StatusInterval varies depending on other parameters ... e.g. device active, idle, etc.? | 22:47 |
| freemangordon | Wizzup: as I said - this is by looking at the video | 22:48 |
| freemangordon | perhaps on real device it looks different | 22:48 |
| freemangordon | sicelo: could be | 22:49 |
| Wizzup | ok | 22:49 |
| Wizzup | I will push the code in a bit and then you can get a feel whenever | 22:49 |
| freemangordon | ok | 22:50 |
| freemangordon | sicelo: with screen locked and ping running to some inet site, I get DataCounters signal every second | 22:59 |
| freemangordon | on fremantle that is | 22:59 |
| Wizzup | freemangordon: pushed to qsubmenu on qt-platform-maemo | 23:00 |
| freemangordon | ok | 23:00 |
| sicelo | what about without the ping? | 23:00 |
| freemangordon | according to specs signal will not be emited if there is no change | 23:03 |
| freemangordon | so I don't know what to do | 23:03 |
| freemangordon | Wizzup: while are you on the menus - is it possible to fix the buttons spacing | 23:05 |
| Wizzup | let me first fix a few more minor issues | 23:06 |
| freemangordon | Wizzup: yeah, it is ok without animation | 23:06 |
| freemangordon | though, if it is possible to print the current path, it will be good | 23:07 |
| Wizzup | definitely possible but text could get long | 23:08 |
| freemangordon | you can print just the end, if it does not fix | 23:08 |
| freemangordon | maybe only parent menu will be enough | 23:09 |
| freemangordon | not the full path | 23:09 |
| freemangordon | usually there are no more than 2 nested menus | 23:09 |
| freemangordon | in either case, only parent should suffice IMO | 23:10 |
| freemangordon | hmm maybe instead of showing ".." you can print the parent menu name | 23:11 |
| Wizzup | hm, ok, so just the prev menu name? | 23:11 |
| freemangordon | (if any) | 23:11 |
| Wizzup | how about: | 23:11 |
| freemangordon | the button with .. seems to be the best place | 23:11 |
| Wizzup | .. (prevmenuname) | 23:11 |
| Wizzup | with the parenthesis | 23:11 |
| freemangordon | mhm | 23:11 |
| freemangordon | or arrow, dunno | 23:11 |
| freemangordon | some 'back' symbol | 23:12 |
| freemangordon | and parent menu name: | 23:12 |
| freemangordon | prevmenuname<- | 23:12 |
| freemangordon | or somesuch | 23:12 |
| freemangordon | but yeah, ..(prevmenuname) should be ok as well | 23:13 |
| freemangordon | not sure about parenthesis though | 23:13 |
| freemangordon | up arrow icon should work as well | 23:14 |
| freemangordon | maybe is even better | 23:14 |
| Wizzup | ok | 23:15 |
| Wizzup | currently I settled on ... menuname | 23:15 |
| freemangordon | :) | 23:15 |
| Wizzup | since we add ... to a menu if it's a subm enu | 23:15 |
| Wizzup | in code | 23:15 |
| Wizzup | so it's kind of the inverse | 23:15 |
| Wizzup | but we could add a back arrow icon to the button | 23:15 |
| freemangordon | filemanager_folder_up.png | 23:16 |
| freemangordon | that one | 23:17 |
| Wizzup | ok | 23:17 |
| freemangordon | could you push the changes? | 23:17 |
| Wizzup | so setIcon('filemanager_folder_up.png') ? | 23:17 |
| freemangordon | mhm | 23:17 |
| Wizzup | I pushed a fixup commit just now | 23:17 |
| freemangordon | lets try it | 23:17 |
| dsc_ | QIcon("path")) | 23:17 |
| dsc_ | setIcon(QIcon("path")) | 23:18 |
| Wizzup | right | 23:18 |
| Wizzup | does that need to be an absolute path | 23:18 |
| dsc_ | yes | 23:18 |
| dsc_ | preferably its cached even ;)) | 23:18 |
| dsc_ | but np | 23:18 |
| dsc_ | its probably a 800 bytes icon | 23:18 |
| freemangordon | 685 :D | 23:18 |
| dsc_ | poor sd card :x | 23:18 |
| Wizzup | freemangordon: please try | 23:19 |
| Wizzup | I can't get it to work (with limited effort I will admit) | 23:20 |
| Wizzup | m_backAction = new QAction("..." + m_menu_nest.last()->title()); | 23:20 |
| Wizzup | m_backAction->setIcon(QIcon("/usr/share/icons/hicolor/48x48/hildon/filemanager_folder_up.png")); | 23:20 |
| Wizzup | this is what I did | 23:20 |
| freemangordon | did you push that? | 23:20 |
| Wizzup | no, but the rest I did | 23:21 |
| Wizzup | this didn't work so I didn't push it | 23:21 |
| freemangordon | ok, will try | 23:21 |
| Wizzup | uvos: 2713mAh btw, on razr with the 'bermbom.sh' script (incr. max voltage) | 23:22 |
| dsc_ | Wizzup: looks ok | 23:22 |
| dsc_ | strace ./foo 2>&1 | grep --line-buffered folder_up | 23:22 |
| freemangordon | should be setIcon(QIcon::fromTheme("filemanager_folder_up"));, going to try | 23:24 |
| dsc_ | (maybe strace will truncate some output, theres a flag for it) | 23:24 |
| Wizzup | dsc_: wonder if we can use fromTheme as well | 23:25 |
| Wizzup | in conversations | 23:25 |
| freemangordon | doesn;t work either | 23:28 |
| freemangordon | strace shows nothing | 23:28 |
| freemangordon | Wizzup: for some reason icon is not rendered | 23:38 |
| freemangordon | h,, wait | 23:39 |
| dsc_ | Wizzup: yes would be nice | 23:39 |
| Wizzup | freemangordon: could be theme/style related | 23:41 |
| freemangordon | no | 23:42 |
| freemangordon | you just don't send the icon on the button | 23:42 |
| freemangordon | *set | 23:42 |
| dsc_ | ah yes | 23:43 |
| dsc_ | this m_actions is <widget, qaction> | 23:43 |
| dsc_ | i forgot | 23:43 |
| freemangordon | mhm | 23:43 |
| freemangordon | trying now | 23:43 |
| freemangordon | gimme a minute | 23:43 |
| dsc_ | Wizzup: take the widget, cast to button, setIcon there | 23:43 |
| dsc_ | QAbstractButton *btn= qobject_cast<QAbstractButton *>(bla); btn->setIcon | 23:44 |
| Wizzup | os yeah ok | 23:44 |
| Wizzup | I am setting the icon on the action | 23:44 |
| Wizzup | but on the button | 23:44 |
| Wizzup | oops | 23:44 |
| Wizzup | but not* | 23:44 |
| dsc_ | its confusing because generally you *do* set icons on QActions, but maemo qt plugin actually renders buttons | 23:45 |
| freemangordon | just let me confirm fromTheme works | 23:45 |
| dsc_ | some applications set icons on QActions, if we want to render those we'll need to copy them to the buttons | 23:48 |
| freemangordon | I already did | 23:48 |
| dsc_ | ah ok | 23:48 |
| freemangordon | and now magically lots of icons appear | 23:48 |
| Wizzup | ha | 23:48 |
| freemangordon | I was wondering why :D | 23:48 |
| freemangordon | now trying to fix the layout spaacing | 23:49 |
| Wizzup | ok, cool, please if you can separate the spacing and icon adding in a separate commit from adding icon to back button | 23:49 |
| Wizzup | or rather I'd like to have them as separate covmmits | 23:49 |
| Wizzup | I guess adding the icon to the back button doesn't need to be split out | 23:50 |
| freemangordon | I will just provide you the changes | 23:50 |
| freemangordon | to format to your liking | 23:50 |
| Wizzup | ok | 23:50 |
| freemangordon | I don;t think having folder up button allong with dots is a good idea | 23:51 |
| Wizzup | agreed | 23:51 |
| Wizzup | one or the other would make sense | 23:51 |
| Wizzup | or just no text honestly | 23:51 |
| Wizzup | if the icon works well | 23:51 |
| freemangordon | yes, it works | 23:52 |
| freemangordon | but then we have to replace ... of the parent menu with either icon or some other thing | 23:52 |
| freemangordon | lemme try to find something | 23:52 |
| Wizzup | hm? | 23:54 |
| Wizzup | I meant just have the icon, no text, or ..., no parent menu name | 23:54 |
| freemangordon | sec, I think I got it properly, just have to test | 23:55 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!