libera/#maemo-leste/ Saturday, 2024-06-01

amunizparno11: thank you reading into rescueOS now but I can't find the img file00:02
Wizzupwhat about doing it from maemo-lete?00:04
Wizzupleste*00:04
Wizzupor did I miss something00:04
amunizpIt boots to the pin code even with the keyboard open @Wizzup00:04
Wizzupdid you remove the script that I mentioned in the mailing list?>00:05
freemangordondid you flash u-boot?00:05
amunizpI can't get to it. without logging in?00:05
Wizzupamunizp: take the microsd card and mount it on your linux machine00:06
amunizpYes I did flasboot. Ohhh ohhh I guess I can get to when I am flashing?00:06
Wizzupthen go to the mount point and remove the file (remove the leading slash from the path I mentioned n the mail)00:06
Wizzupno, you can just monut the microsd card that you dd'ed00:06
amunizpARG of course! silly me!00:06
Wizzup:)00:06
freemangordonWizzup: he did not flash u-boot afaik00:06
freemangordonand noe its fremantle kernal that boots00:07
freemangordon*now00:07
Wizzuphe said the problem was that leste gave him the pin block00:10
Wizzupso if he removes the script from the leste sd card00:10
Wizzuphe can boot to leste without the pin block00:10
Wizzupthen he can do whatever00:10
Wizzupyou don't need to flash (perma write) uboot or the kernel to boot leste00:11
Wizzupyou can just load u-boot, boot it, and then pick leste sd card and it's all ok00:11
freemangordonWizzup: agree, but he still needs to boot u-boot somehow00:11
Wizzupfreemangordon: again, 0xffff00:18
Wizzupsee our wiki00:18
unic0rnidle has no utf-8 support?02:12
unic0rnalso, a list of nicknames would be very nice ;) unless there's an option to just send /names, but it seems it sends everything as privmsg02:16
unic0rnsidenote, 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 work02:39
unic0rn|maemoand new message seems borked, unable to choose target03:22
unic0rn|maemosms works from within contacts obviously, on irc the other side has to start priv03:23
Wizzupyes, 'new message' window is unfinished.03:31
unic0rn|maemogot it03:39
freemangordonWizzup: yesterday I gad duplicated messages from hazwe08:40
freemangordon*haze08:40
freemangordonso I wonder if duplicated SMS-es is not the same issue08:41
freemangordonalso *my* messages got duplicated08:43
freemangordondsc_: [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
freemangordonWizzup: scratch that08:49
freemangordonI was just able to trigger that by typing lots of messages from both sides08:50
freemangordonso one of my messages came as a scrollback08:50
freemangordonok, there is a race in purple-fb, going to fix it09:25
Wizzuphi12:09
Wizzupokay, cool12:10
freemangordondsc_: one more thing - we lack "clear conversation" option16:45
Wizzupyup we do16:47
freemangordonwhre?16:49
freemangordonah, we lack :)16:49
Wizzupyeah16:57
Wizzupfreemangordon: I am talking with dsc just now and I'd like to suggest that we handle qmenu in qt differently17:31
WizzupCurrently it will find all actions on all menus and submenus and render them in the qmenubar17:31
WizzupI 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 submenu17:32
WizzupI 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#L14517:32
Wizzupand of course make recurisveAddActions not recursive, but instead aware of the current (sub) menu you're in17:32
Wizzupso we'd just keep track of the current menu of the action basically https://doc.qt.io/qt-6/qaction.html#menu17:41
WizzupI 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 me17:58
freemangordonWizzup: why do we need that?18:48
freemangordon(submenus)18:48
Wizzupbecause menus are a total mess currently18:52
Wizzupall actions are recursively added18:53
Wizzupso it's not possible to have a sensible grouping of menus18:53
Wizzupsimple case for conversations is to have a menu option that says filters which then gives you a subset of filters: all, sms, xmpp, etc18:53
freemangordonI understand, but which particular issue makes you reconsider that right now18:53
Wizzup(then we bar at the top can go)18:53
Wizzupthen the*18:53
freemangordonok18:53
freemangordongot teh usecase18:53
freemangordonWizzup: btw, what do you think is wrong with fremantle conversations UI?18:54
WizzupI think we've discussed this plenty times prior, but just the most recent message is not enough18:55
freemangordonlike, why do we insist to push android app/serice-centric view of the world to the conversations?18:55
WizzupI get slack messages form work every 30 seconds18:56
Wizzupin about 50 different channels18:56
WizzupI don't want those to push my SMS away18:56
freemangordonyour 30s messages are in single group? or not18:57
freemangordonah, 50 channels18:57
freemangordonsorry, just had a nap and am still slightly disoriented :)18:58
Wizzupno worries18:59
WizzupI started writing the code for qt platform code btw18:59
freemangordonok18:59
Wizzupwe'll see if it makes sense when it works18:59
freemangordonmhm18:59
freemangordonit does not conform to any hildon UI/UX, but lets see18:59
freemangordonI wonder UI wise how would you render the 'back' button19:00
freemangordonor, it would be yet another modal box on top?19:01
freemangordonWizzup: re slack pushing you sms - you have separate notification for sms, no?19:03
Wizzupfreemangordon: just the first button as '..' or something19:07
Wizzupthe separate notification doesn't prevent everything getting pushed way down19:08
freemangordonright, but you still see it in the tasknav19:08
freemangordonnot up or down19:08
freemangordonsee, I don't object to have smarter UI19:09
freemangordonbut maybe you shall discuss the plans for UI/UX with more people, who might have different needs/usecases, dunno19:10
freemangordonbut having non contact-centric conversations UI breaks maemo idea IMO19:11
uvosfreemangordon:  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 manageble19:12
freemangordonuvos: that's clear, my question was rather "why now", knowing they work on conversations ;)19:13
freemangordonWizzup: OTOH, I don;t want to push my understanding, so a little public discussion wont hurt19:13
WizzupI don't think it breaks maemo idea at all19:14
freemangordoncould be, but I still don;t know what you mean19:15
freemangordonlike, what UI/UX will look like?19:15
Wizzupexactly the same as now... just the top bar is gone19:16
freemangordonok, but instead of moving to the menu...19:16
Wizzupwhat?19:17
WizzupIt will be moved to the menu19:17
WizzupCurrent: black bar with text and horizontal scroll with All, SMS, XMPP, etc19:17
freemangordoncan't it be moved to the left, with just an icon representing the service?19:17
freemangordonyes, got it19:17
WizzupSuggested: 'Filters.' option in the menu, and from the Filters you can click: All, SMS, XMPP, etc.19:17
freemangordonI can;t stand it too :D19:18
WizzupI don't think we have space on the left19:18
freemangordonif it is only an icon19:18
freemangordonwe have19:18
Wizzupwhere would the icon go19:18
WizzupI don't understand19:18
freemangordonsec19:18
freemangordongimme 5 minutes, I will try to mock19:19
Wizzupwell we have just the list of recent messages19:19
Wizzupto the left is the service icon of each mesasgew19:19
Wizzupto the right their contact icon19:19
freemangordonno, to the left we may move the current 'filter' bar19:20
Wizzupso then there's less space for everything, right?19:20
Wizzuptry conversations in portrait mode19:20
freemangordonoh, right19:20
freemangordonyeah, ok19:21
freemangordonlets see how ould it look like19:22
Wizzupok19:22
uvosi really dont care about conversations, but i do want desktop applications to work better :P19:22
freemangordondo you want me to start implementing contact search?19:22
Wizzupyeah, maybe check with dsc, but I think that is helpful19:22
freemangordonuvos: heh19:22
Wizzupwe cound also add the 'Accounts' menu option like on fremantle19:22
freemangordonthat's just a dbus call19:23
Wizzupyes, just saying :)19:23
freemangordonyeah19:23
freemangordonok, lets spend some time on connui-cellular first19:23
sicelothe silent-mic issue ... btw was a solution (or cause) found yet19:24
uvosno19:24
freemangordon"but then when I started it apparently I was in a call and the other party could suddenly hear me "19:25
freemangordonsounds like he's on something19:25
sicelofor some reason i can't install pavucontrol. wanted to check mixer state19:25
uvosno19:25
uvosif his sphone crashed then the ucm mode was not swiched untill he started it19:26
uvosthats perfectly usual behavior (besides the crash ofc)19:26
freemangordonsicelo: how's that?19:26
freemangordonInstalled: 4.0-219:26
freemangordon 500 https://pkgmaster.devuan.org/merged chimaera/main armhf Packages19:26
sicelono idea. I'm checking my repo config19:27
freemangordonanother topic - currently we have trafic limit option, that issues warning when the limit is reached19:28
sicelomain issue is - in my case, silent-mic is there almost 100% of the time (when using vcm/tp)19:28
sicelofreemangordon: gprs?19:28
freemangordonshall I make it support limit per modem, or SIM, or?19:28
freemangordonmhm19:28
siceloi think in most cases it's modem based. might be wrong19:30
uvossicelo: you could dump the cpcap regs in the failed state and diff with https://uvos.xyz/maserati/stockinfo/call/handset.txt19:30
siceloi.e. sim based would end up with dozens of 'profiles'19:30
uvosif the audio related ones are the same then the problem is not between the dai of the modem and the mic19:30
uvosso it pretty mutch has to be internal to the modem19:30
uvosmaybe something is racey there19:31
sicelothat said, sim based would be the most convenient in the long run... more work19:31
freemangordonsicelo: ok, but I wonder if ofono supports such thing at all19:31
freemangordonlike, how do I know the traffic19:31
siceloi don't think it's done through ofono19:32
freemangordonwe have CallMeter, but it is for voice19:32
* freemangordon checks19:32
uvosofono is not really involved with data that mutch19:32
freemangordonthere is no ofono in fremantle anyways19:32
freemangordonbut where they got trafic info from?19:32
uvosfor leste you would have to montior trafic wwan interface via the usual methods19:32
uvosno idea19:32
uvosmaybe same?19:33
freemangordonno, it is some modem interface19:33
freemangordonI think ISI provides that info19:33
uvosok19:33
uvosany how for us, kernel has staticstics for the network interface, that should be enough or?19:34
freemangordonperhaps19:34
freemangordonbut how to match modem to interface?19:34
freemangordonmaybe ofono provides the info19:34
uvosi mean icd must know somehow19:35
uvossince it needs to set the route and make the modem connect via qmi19:35
freemangordonicd calls ofonop19:35
freemangordon*ofono19:35
uvosfor setting up the ip/ route too?19:35
uvosok19:35
freemangordonbut yeah, I think we get the interface19:35
freemangordonlemme check something19:35
Wizzupfreemangordon: any idea how to reset the widget layout?\19:37
dsc_loop the items, remove them19:38
Wizzupjust delete apparently19:38
Wizzupdsc_: hmm ok19:39
freemangordonI think there is deleteAll()19:39
dsc_Wizzup: https://github.com/maemo-leste/conversations/blob/master/src/overview/overviewwidget.cpp#L80-L8919:39
sicelofreemangordon: ofono doesn't have an interface that tracks data transferred. this is job of the connection manager (icd, etc.)19:41
freemangordonyeah, looks like19:41
Wizzuphttps://wizzup.org/qtsubmenu.png19:43
Wizzuper19:43
Wizzupnot png19:43
Wizzupwait19:43
dsc_swf19:44
Wizzuphttps://wizzup.org/qt-submenu.mp419:44
Wizzupso there's no back button yet and the layout isn't actually properly removed :)19:44
Wizzupbut it's a start19:44
dsc_cool :)19:44
uvosspawning 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
Wizzupdsc_: ok, thx, I will look at this a bit later19:46
WizzupI considered it and I think it's not better19:46
Wizzupit'll be too flashy/animationy19:46
uvosanimationy :P19:46
Wizzupbtw my razr battery is estimaged currently at 2423mAh19:47
Wizzupestimated*19:47
uvosits the same battery as bw8x19:47
uvosand those have also survived really well19:47
Wizzupyeah19:48
WizzupI will see if I can get another sim to work in the razr19:48
uvosthe chemisty in hw4x/eb41 is just - not great19:48
Wizzupmy croatian one just doesn't connect to the right carrier19:48
Wizzup(only in the razr)19:48
freemangordonWizzup: I think the animation makes sense19:48
freemangordonit is inconsistent otherwise19:48
freemangordonat least by looking at the video19:49
freemangordon/sys/class/net/$IF/statistics20:02
freemangordonuvos: ^^^20:02
sicelodoesn't icd2 already count the traffic?20:04
freemangordonI don;t think so20:04
freemangordonactually, dunno20:05
siceloI'd like to think it does20:05
uvosand if it dose it hopefully just exposes the kernel stats20:05
freemangordonoriginal fremantle gprs plugin gets the statistics from the modem20:07
freemangordoncom.nokia.csd.GPRS20:07
siceloah20:07
freemangordonthere is DataCounters signal20:08
freemangordonno, we can listen to sysfs changes20:08
siceloyes 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
freemangordonbut I wonder if it wouldn;t result in unnecessary wake-up for every byte20:09
sicelohow does vnstat do it btw?20:09
freemangordonI didn;t get the issue with qcom20:09
freemangordonthere is network interface after all, no20:09
* freemangordon attaches quictel to VM20:10
siceloi meant ... we can't depend on ISI features (if it reports the usage itself)20:10
siceloso 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
freemangordonlemme see if there is some dbus interface for that20:12
sicelodbus would need to come from connection manager :-)20:13
siceloip -s link show <iface> also did stats. no idea if it has some library20:14
freemangordonyeah20:15
freemangordon(dbus)20:15
freemangordonI wonder what is the proper way to listen to those sysfs files changing20:15
sicelonot a bad idea to look at how NM does this.  i recall they have something, although they specify it's not too accurate20:22
freemangordonsicelo: my question is rather - how to listen for values changing, without causing too much wake-ups20:22
freemangordonlike - shall I poll every 30 seconds or so? or, shall I select() on those files?20:23
freemangordonuvos: ^^^20:23
freemangordonwhat do you think?20:23
freemangordonhmm, libnl it seems20:28
freemangordonok, I cannot find any other way but to poll21:14
freemangordonwhat the?21:14
Wizzupdsc_: I think you code you shared doesn't work with nested layouts right21:16
freemangordonWizzup: are you aware of any other option to get net iface statistics change but to poll?21:18
Wizzuphm...21:18
Wizzupmy gut feeling says netlink but I have no idea21:18
freemangordonyes, netlink, but there are no events I was able to find21:18
freemangordonlike, you issue "getstat" and get reply21:19
freemangordonbut that's polling21:19
Wizzupwell what event do you want, for every x packets?21:19
freemangordonfor example21:19
freemangordondon't tell me I have to write nftables script :)21:20
Wizzupnetworking is not my strong suit21:21
freemangordonhmm, it seems nftables won;t  do the job, all I see they can do re userspace is to log events21:29
freemangordonI am not sure I want to hook on the kernel ring buffer to receive rx/tx bytes changed21:30
Wizzupwhy do you need it in real time?21:34
freemangordonI don't21:34
freemangordonbut how often do I need it?21:34
freemangordonlike, what would be the sane polling interval?21:34
Wizzupwhen icd stops and starts, when the ui wants updates, an to make suer we don't pass some limit?21:34
freemangordonthe latter21:35
Wizzupcan't you do that with nftables/21:35
freemangordonwe can set traffic (home/roaming) warning21:35
freemangordonwe can, but how to get that 'threshold reached" event to the UI?21:35
freemangordonwe don;t want to block the trafic on limit reached, but to warn the user and make him decide what to do21:36
Wizzuphow does it work in fremantle?21:37
Wizzup(also these details I would urge you to leave for later)21:37
freemangordonseems modem sends statistics update21:37
freemangordonsome   DataCounters signal on com.nokia.csd.GPRS21:38
freemangordonno idea how often it is sends21:38
freemangordonor what triggers it21:38
freemangordonhmm, StatusInterval21:39
Wizzuphow sailfish do this?21:40
freemangordonhow do I know :)21:41
freemangordondo they support this?21:41
WizzupI don't know21:42
freemangordonhmm, how am I supposed to use https://web.archive.org/web/20240000000000*/http://www.cncmods.net/files/dbus/gprs-dbus.txt ?21:42
Wizzupdo you have a working link for this21:43
freemangordonlink for what?21:43
freemangordonI need gprs-dbus.txt21:44
Wizzupoh, I see, you're trying to get it but are having the same trouble as me21:44
Wizzupit looks like the crawls failed21:44
freemangordonI am getting that calendar21:44
freemangordonanyway21:44
freemangordonoh, wait21:45
freemangordonfound it through some other channel :)21:45
freemangordonok, I have to check who sets StatusInterval on fremantle21:46
sicelothat gprs-dbus.txt stuff looks like ofono for the most part, besides the RX/TX bytes22:19
siceloNM is using nl as well ... https://www.mail-archive.com/networkmanager-list@gnome.org/msg28854.html22:20
freemangordonsicelo: that file is actually comes with csd-gprs_1.0.13+0m5_armel22:22
freemangordonit is in /usr/share... as DBUS-INTERFACE22:22
freemangordonok, I feel stupid, but, how to use dbus-send to get some property?22:23
freemangordonWizzup: ^^^22:23
sicelowhy don't you use modern tools :-P22:23
sicelobusctl ... gdbus22:24
freemangordonon n900?22:24
freemangordonhttps://pastebin.com/C6fHSKuG22:24
siceloyes both tools exist by default in Leste22:24
freemangordonon leste we don;t have such interface ;)22:24
freemangordonso it is about fremantle :)22:24
siceloah :-)22:25
freemangordonso, how to get StatusInterval property using dbus-send?22:25
sicelodbus-send is the thing that made dbus appear to be difficult. anyway, there's mdbus2 for fremantle. much easier tool22:27
freemangordon     dict entry(22:37
freemangordon         string "StatusInterval"22:37
freemangordon         variant             uint32 100022:37
freemangordon      )22:37
freemangordonok, on seems fremantle updates counters every second22:38
freemangordons/on seems/seems22:38
Wizzupfreemangordon: ok so for the most part this is all working fine now, https://wizzup.org/qt-submenu.mp422:39
Wizzupthe 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 think22:39
Wizzupright now it might show just 'menu..' and then you get to the actual menus22:40
Wizzup(and no I still don't think animation is a good idea :D)22:40
freemangordonno, please, animation is a good idea22:40
freemangordonthat makes it consistent22:40
freemangordonif main menu opens with animation, so shall submenus do22:41
freemangordonotherwise it looks half-baked22:41
freemangordongreat job otherwise22:42
dsc_navigating through these menus will work fine, nice22:45
freemangordonsicelo: ok, how that 1s timer does not affect battery life?22:45
sicelono idea :-D22:46
WizzupI won't add animation since I think it's not a good use of my time, user time and cpu/battery22:46
siceloguess because it's quick?22:46
Wizzupcan you please explain why we need some window disappear and re-appear animation, like the menu just disappears?22:46
Wizzuphow is it not clear that the menu structure updated?22:46
sicelofreemangordon: is it possible that the StatusInterval varies depending on other parameters ... e.g. device active, idle, etc.?22:47
freemangordonWizzup: as I said - this is by looking at the video22:48
freemangordonperhaps on real device it looks different22:48
freemangordonsicelo: could be22:49
Wizzupok22:49
WizzupI will push the code in a bit and then you can get a feel whenever22:49
freemangordonok22:50
freemangordonsicelo: with screen locked and ping running to some inet site, I get DataCounters signal every second22:59
freemangordonon fremantle that is22:59
Wizzupfreemangordon: pushed to qsubmenu on qt-platform-maemo23:00
freemangordonok23:00
sicelowhat about without the ping?23:00
freemangordonaccording to specs signal will not be emited if there is no change23:03
freemangordonso I don't know what to do23:03
freemangordonWizzup: while are you on the menus - is it possible to fix the buttons spacing23:05
Wizzuplet me first fix a few more minor issues23:06
freemangordonWizzup: yeah, it is ok without animation23:06
freemangordonthough, if it is possible to print the current path, it will be good23:07
Wizzupdefinitely possible but text could get long23:08
freemangordonyou can print just the end, if it does not fix23:08
freemangordonmaybe only parent menu will be enough23:09
freemangordonnot the full path23:09
freemangordonusually there are no more than 2 nested menus23:09
freemangordonin either case, only parent should suffice IMO23:10
freemangordonhmm maybe instead of showing ".." you can print the parent menu name23:11
Wizzuphm, ok, so just the prev menu name?23:11
freemangordon(if any)23:11
Wizzuphow about:23:11
freemangordonthe button with .. seems to be the best place23:11
Wizzup.. (prevmenuname)23:11
Wizzupwith the parenthesis23:11
freemangordonmhm23:11
freemangordonor arrow, dunno23:11
freemangordonsome 'back' symbol23:12
freemangordonand parent menu name:23:12
freemangordonprevmenuname<-23:12
freemangordonor somesuch23:12
freemangordonbut yeah, ..(prevmenuname) should be ok as well23:13
freemangordonnot sure about parenthesis though23:13
freemangordonup arrow icon should work as well23:14
freemangordonmaybe is even better23:14
Wizzupok23:15
Wizzupcurrently I settled on ... menuname23:15
freemangordon:)23:15
Wizzupsince we add ... to a menu if it's a subm enu23:15
Wizzupin code23:15
Wizzupso it's kind of the inverse23:15
Wizzupbut we could add a back arrow icon to the button23:15
freemangordonfilemanager_folder_up.png23:16
freemangordonthat one23:17
Wizzupok23:17
freemangordoncould you push the changes?23:17
Wizzupso setIcon('filemanager_folder_up.png') ?23:17
freemangordonmhm23:17
WizzupI pushed a fixup commit just now23:17
freemangordonlets try it23:17
dsc_QIcon("path"))23:17
dsc_setIcon(QIcon("path"))23:18
Wizzupright23:18
Wizzupdoes that need to be an absolute path23:18
dsc_yes23:18
dsc_preferably its cached even ;))23:18
dsc_but np23:18
dsc_its probably a 800 bytes icon23:18
freemangordon685 :D23:18
dsc_poor sd card :x23:18
Wizzupfreemangordon: please try23:19
WizzupI 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
Wizzupthis is what I did23:20
freemangordondid you push that?23:20
Wizzupno, but the rest I did23:21
Wizzupthis didn't work so I didn't push it23:21
freemangordonok, will try23:21
Wizzupuvos: 2713mAh btw, on razr with the 'bermbom.sh' script (incr. max voltage)23:22
dsc_Wizzup: looks ok23:22
dsc_strace ./foo 2>&1 | grep --line-buffered folder_up23:22
freemangordonshould be setIcon(QIcon::fromTheme("filemanager_folder_up"));, going to try23:24
dsc_(maybe strace will truncate some output, theres a flag for it)23:24
Wizzupdsc_: wonder if we can use fromTheme as well23:25
Wizzupin conversations23:25
freemangordondoesn;t work either23:28
freemangordonstrace shows nothing23:28
freemangordonWizzup: for some reason icon is not rendered23:38
freemangordonh,, wait23:39
dsc_Wizzup: yes would be nice23:39
Wizzupfreemangordon: could be theme/style related23:41
freemangordonno23:42
freemangordonyou just don't send the icon on the button23:42
freemangordon*set23:42
dsc_ah yes23:43
dsc_this m_actions is <widget, qaction>23:43
dsc_i forgot23:43
freemangordonmhm23:43
freemangordontrying now23:43
freemangordongimme a minute23:43
dsc_Wizzup: take the widget, cast to button, setIcon there23:43
dsc_QAbstractButton *btn= qobject_cast<QAbstractButton *>(bla); btn->setIcon23:44
Wizzupos yeah ok23:44
WizzupI am setting the icon on the action23:44
Wizzupbut on the button23:44
Wizzupoops23:44
Wizzupbut not*23:44
dsc_its confusing because generally you *do* set icons on QActions, but maemo qt plugin actually renders buttons23:45
freemangordonjust let me confirm fromTheme works23:45
dsc_some applications set icons on QActions, if we want to render those we'll need to copy them to the buttons23:48
freemangordonI already did23:48
dsc_ah ok23:48
freemangordonand now magically lots of icons appear23:48
Wizzupha23:48
freemangordonI was wondering why :D23:48
freemangordonnow trying to fix the layout spaacing23:49
Wizzupok, cool, please if you can separate the spacing and icon adding in a separate commit from adding icon to back button23:49
Wizzupor rather I'd like to have them as separate covmmits23:49
WizzupI guess adding the icon to the back button doesn't need to be split out23:50
freemangordonI will just provide you the changes23:50
freemangordonto format to your liking23:50
Wizzupok23:50
freemangordonI don;t think having folder up button allong with dots is a good idea23:51
Wizzupagreed23:51
Wizzupone or the other would make sense23:51
Wizzupor just no text honestly23:51
Wizzupif the icon works well23:51
freemangordonyes, it works23:52
freemangordonbut then we have to replace ... of the parent menu with either icon or some other thing23:52
freemangordonlemme try to find something23:52
Wizzuphm?23:54
WizzupI meant just have the icon, no text, or ..., no parent menu name23:54
freemangordonsec, I think I got it properly, just have to test23:55

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