<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
inky has joined #maemo-leste
unic0rn|maemo has joined #maemo-leste
<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
<unic0rn|maemo>
and new message seems borked, unable to choose target
<unic0rn|maemo>
sms works from within contacts obviously, on irc the other side has to start priv
<Wizzup>
yes, 'new message' window is unfinished.
<unic0rn|maemo>
got it
Rodney_ has joined #maemo-leste
sunshavi_ has joined #maemo-leste
kona_ has joined #maemo-leste
kona has quit [Read error: Connection reset by peer]
fab__ has quit [Read error: Connection reset by peer]
moparisthebest has quit [Ping timeout: 268 seconds]
sunshavi has quit [Ping timeout: 268 seconds]
vadparaszt has quit [Ping timeout: 268 seconds]
DPA2 has joined #maemo-leste
ungeskriptet has joined #maemo-leste
parazyd has quit [Ping timeout: 252 seconds]
parazyd has joined #maemo-leste
moparisthebest has joined #maemo-leste
ac_laptop has quit [Ping timeout: 240 seconds]
nmdv has joined #maemo-leste
nmdv has quit [Ping timeout: 246 seconds]
joerg has quit [Ping timeout: 240 seconds]
joerg has joined #maemo-leste
kona_ is now known as kona
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
<freemangordon>
Wizzup: yesterday I gad duplicated messages from hazwe
<freemangordon>
*haze
<freemangordon>
so I wonder if duplicated SMS-es is not the same issue
<freemangordon>
also *my* messages got duplicated
<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>) { ... }
<freemangordon>
Wizzup: scratch that
<freemangordon>
I was just able to trigger that by typing lots of messages from both sides
<freemangordon>
so one of my messages came as a scrollback
Livio has joined #maemo-leste
Livio has quit [Ping timeout: 268 seconds]
<freemangordon>
ok, there is a race in purple-fb, going to fix it
pere has quit [Ping timeout: 255 seconds]
System_Error has quit [Remote host closed the connection]
<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
<freemangordon>
Wizzup: why do we need that?
<freemangordon>
(submenus)
<Wizzup>
because menus are a total mess currently
<Wizzup>
all actions are recursively added
<Wizzup>
so it's not possible to have a sensible grouping of menus
<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
<freemangordon>
I understand, but which particular issue makes you reconsider that right now
<Wizzup>
(then we bar at the top can go)
<Wizzup>
then the*
<freemangordon>
ok
<freemangordon>
got teh usecase
<freemangordon>
Wizzup: btw, what do you think is wrong with fremantle conversations UI?
<Wizzup>
I think we've discussed this plenty times prior, but just the most recent message is not enough
<freemangordon>
like, why do we insist to push android app/serice-centric view of the world to the conversations?
<Wizzup>
I get slack messages form work every 30 seconds
<Wizzup>
in about 50 different channels
<Wizzup>
I don't want those to push my SMS away
<freemangordon>
your 30s messages are in single group? or not
<freemangordon>
ah, 50 channels
<freemangordon>
sorry, just had a nap and am still slightly disoriented :)
<Wizzup>
no worries
<Wizzup>
I started writing the code for qt platform code btw
<freemangordon>
ok
<Wizzup>
we'll see if it makes sense when it works
<freemangordon>
mhm
<freemangordon>
it does not conform to any hildon UI/UX, but lets see
<freemangordon>
I wonder UI wise how would you render the 'back' button
<freemangordon>
or, it would be yet another modal box on top?
<freemangordon>
Wizzup: re slack pushing you sms - you have separate notification for sms, no?
<Wizzup>
freemangordon: just the first button as '..' or something
<Wizzup>
the separate notification doesn't prevent everything getting pushed way down
<freemangordon>
right, but you still see it in the tasknav
<freemangordon>
not up or down
<freemangordon>
see, I don't object to have smarter UI
<freemangordon>
but maybe you shall discuss the plans for UI/UX with more people, who might have different needs/usecases, dunno
<freemangordon>
but having non contact-centric conversations UI breaks maemo idea IMO
uvos has joined #maemo-leste
<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
<freemangordon>
uvos: that's clear, my question was rather "why now", knowing they work on conversations ;)
<freemangordon>
Wizzup: OTOH, I don;t want to push my understanding, so a little public discussion wont hurt
<Wizzup>
I don't think it breaks maemo idea at all
<freemangordon>
could be, but I still don;t know what you mean
<freemangordon>
like, what UI/UX will look like?
<Wizzup>
exactly the same as now... just the top bar is gone
<freemangordon>
ok, but instead of moving to the menu...
<Wizzup>
what?
<Wizzup>
It will be moved to the menu
<Wizzup>
Current: black bar with text and horizontal scroll with All, SMS, XMPP, etc
<freemangordon>
can't it be moved to the left, with just an icon representing the service?
<freemangordon>
yes, got it
<Wizzup>
Suggested: 'Filters.' option in the menu, and from the Filters you can click: All, SMS, XMPP, etc.
<freemangordon>
I can;t stand it too :D
<Wizzup>
I don't think we have space on the left
<freemangordon>
if it is only an icon
<freemangordon>
we have
<Wizzup>
where would the icon go
<Wizzup>
I don't understand
<freemangordon>
sec
<freemangordon>
gimme 5 minutes, I will try to mock
<Wizzup>
well we have just the list of recent messages
<Wizzup>
to the left is the service icon of each mesasgew
<Wizzup>
to the right their contact icon
<freemangordon>
no, to the left we may move the current 'filter' bar
<Wizzup>
so then there's less space for everything, right?
<Wizzup>
try conversations in portrait mode
<freemangordon>
oh, right
<freemangordon>
yeah, ok
<freemangordon>
lets see how ould it look like
<Wizzup>
ok
mdz has joined #maemo-leste
<uvos>
i really dont care about conversations, but i do want desktop applications to work better :P
<freemangordon>
do you want me to start implementing contact search?
<Wizzup>
yeah, maybe check with dsc, but I think that is helpful
<freemangordon>
uvos: heh
<Wizzup>
we cound also add the 'Accounts' menu option like on fremantle
<freemangordon>
that's just a dbus call
<Wizzup>
yes, just saying :)
<freemangordon>
yeah
<freemangordon>
ok, lets spend some time on connui-cellular first
<sicelo>
the silent-mic issue ... btw was a solution (or cause) found yet
<uvos>
no
<freemangordon>
"but then when I started it apparently I was in a call and the other party could suddenly hear me "
<freemangordon>
sounds like he's on something
<sicelo>
for some reason i can't install pavucontrol. wanted to check mixer state
<uvos>
no
<uvos>
if his sphone crashed then the ucm mode was not swiched untill he started it
<freemangordon>
sicelo: how's that?
<uvos>
thats perfectly usual behavior (besides the crash ofc)
<Wizzup>
so there's no back button yet and the layout isn't actually properly removed :)
<Wizzup>
but it's a start
<dsc_>
cool :)
<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?
<Wizzup>
dsc_: ok, thx, I will look at this a bit later
<Wizzup>
I considered it and I think it's not better
<Wizzup>
it'll be too flashy/animationy
<uvos>
animationy :P
<Wizzup>
btw my razr battery is estimaged currently at 2423mAh
<Wizzup>
estimated*
<uvos>
its the same battery as bw8x
<uvos>
and those have also survived really well
<Wizzup>
yeah
<Wizzup>
I will see if I can get another sim to work in the razr
<uvos>
the chemisty in hw4x/eb41 is just - not great
<Wizzup>
my croatian one just doesn't connect to the right carrier
<Wizzup>
(only in the razr)
<freemangordon>
Wizzup: I think the animation makes sense
<freemangordon>
it is inconsistent otherwise
<freemangordon>
at least by looking at the video
<freemangordon>
/sys/class/net/$IF/statistics
<freemangordon>
uvos: ^^^
<sicelo>
doesn't icd2 already count the traffic?
<freemangordon>
I don;t think so
<freemangordon>
actually, dunno
<sicelo>
I'd like to think it does
<uvos>
and if it dose it hopefully just exposes the kernel stats
<freemangordon>
original fremantle gprs plugin gets the statistics from the modem
<freemangordon>
com.nokia.csd.GPRS
<sicelo>
ah
<freemangordon>
there is DataCounters signal
<freemangordon>
no, we can listen to sysfs changes
<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)
<freemangordon>
but I wonder if it wouldn;t result in unnecessary wake-up for every byte
<sicelo>
how does vnstat do it btw?
<freemangordon>
I didn;t get the issue with qcom
<freemangordon>
there is network interface after all, no
* freemangordon
attaches quictel to VM
<sicelo>
i meant ... we can't depend on ISI features (if it reports the usage itself)
<sicelo>
so yes, count at either kernel (sys, proc, etc) or somehow within icd itself (new feature?)
<freemangordon>
/sys/class/net/wwan0/statistics/
<freemangordon>
lemme see if there is some dbus interface for that
<sicelo>
dbus would need to come from connection manager :-)
<sicelo>
ip -s link show <iface> also did stats. no idea if it has some library
<freemangordon>
yeah
<freemangordon>
(dbus)
<freemangordon>
I wonder what is the proper way to listen to those sysfs files changing
<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
<freemangordon>
sicelo: my question is rather - how to listen for values changing, without causing too much wake-ups
<freemangordon>
like - shall I poll every 30 seconds or so? or, shall I select() on those files?
<freemangordon>
uvos: ^^^
<freemangordon>
what do you think?
<freemangordon>
hmm, libnl it seems
pere has joined #maemo-leste
xmn has quit [Ping timeout: 268 seconds]
<freemangordon>
ok, I cannot find any other way but to poll
<freemangordon>
what the?
<Wizzup>
dsc_: I think you code you shared doesn't work with nested layouts right
<freemangordon>
Wizzup: are you aware of any other option to get net iface statistics change but to poll?
<Wizzup>
hm...
<Wizzup>
my gut feeling says netlink but I have no idea
<freemangordon>
yes, netlink, but there are no events I was able to find
<freemangordon>
like, you issue "getstat" and get reply
<freemangordon>
but that's polling
<Wizzup>
well what event do you want, for every x packets?
<freemangordon>
for example
<freemangordon>
don't tell me I have to write nftables script :)
<Wizzup>
networking is not my strong suit
<freemangordon>
hmm, it seems nftables won;t do the job, all I see they can do re userspace is to log events
<freemangordon>
I am not sure I want to hook on the kernel ring buffer to receive rx/tx bytes changed
<Wizzup>
why do you need it in real time?
<freemangordon>
I don't
<freemangordon>
but how often do I need it?
<freemangordon>
like, what would be the sane polling interval?
<Wizzup>
when icd stops and starts, when the ui wants updates, an to make suer we don't pass some limit?
<freemangordon>
the latter
<Wizzup>
can't you do that with nftables/
<freemangordon>
we can set traffic (home/roaming) warning
<freemangordon>
we can, but how to get that 'threshold reached" event to the UI?
<freemangordon>
we don;t want to block the trafic on limit reached, but to warn the user and make him decide what to do
<Wizzup>
how does it work in fremantle?
<Wizzup>
(also these details I would urge you to leave for later)
<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
<Wizzup>
right now it might show just 'menu..' and then you get to the actual menus
<Wizzup>
(and no I still don't think animation is a good idea :D)
<freemangordon>
no, please, animation is a good idea
<freemangordon>
that makes it consistent
<freemangordon>
if main menu opens with animation, so shall submenus do
<freemangordon>
otherwise it looks half-baked
<freemangordon>
great job otherwise
<dsc_>
navigating through these menus will work fine, nice
<freemangordon>
sicelo: ok, how that 1s timer does not affect battery life?
<sicelo>
no idea :-D
<Wizzup>
I won't add animation since I think it's not a good use of my time, user time and cpu/battery
<sicelo>
guess because it's quick?
<Wizzup>
can you please explain why we need some window disappear and re-appear animation, like the menu just disappears?
<Wizzup>
how is it not clear that the menu structure updated?
<sicelo>
freemangordon: is it possible that the StatusInterval varies depending on other parameters ... e.g. device active, idle, etc.?
arno11 has joined #maemo-leste
<freemangordon>
Wizzup: as I said - this is by looking at the video
<freemangordon>
perhaps on real device it looks different
<freemangordon>
sicelo: could be
<Wizzup>
ok
<Wizzup>
I will push the code in a bit and then you can get a feel whenever
<freemangordon>
ok
<freemangordon>
sicelo: with screen locked and ping running to some inet site, I get DataCounters signal every second
<freemangordon>
on fremantle that is
<Wizzup>
freemangordon: pushed to qsubmenu on qt-platform-maemo
<freemangordon>
ok
<sicelo>
what about without the ping?
<freemangordon>
according to specs signal will not be emited if there is no change
<freemangordon>
so I don't know what to do
<freemangordon>
Wizzup: while are you on the menus - is it possible to fix the buttons spacing
<Wizzup>
let me first fix a few more minor issues
<freemangordon>
Wizzup: yeah, it is ok without animation
<freemangordon>
though, if it is possible to print the current path, it will be good
<Wizzup>
definitely possible but text could get long
<freemangordon>
you can print just the end, if it does not fix
<freemangordon>
maybe only parent menu will be enough
<freemangordon>
not the full path
<freemangordon>
usually there are no more than 2 nested menus
<freemangordon>
in either case, only parent should suffice IMO
<freemangordon>
hmm maybe instead of showing ".." you can print the parent menu name
<Wizzup>
hm, ok, so just the prev menu name?
<freemangordon>
(if any)
<Wizzup>
how about:
<freemangordon>
the button with .. seems to be the best place
<Wizzup>
.. (prevmenuname)
<Wizzup>
with the parenthesis
<freemangordon>
mhm
<freemangordon>
or arrow, dunno
<freemangordon>
some 'back' symbol
<freemangordon>
and parent menu name:
<freemangordon>
prevmenuname<-
<freemangordon>
or somesuch
<freemangordon>
but yeah, ..(prevmenuname) should be ok as well
<freemangordon>
not sure about parenthesis though
<freemangordon>
up arrow icon should work as well
<freemangordon>
maybe is even better
<Wizzup>
ok
<Wizzup>
currently I settled on ... menuname
<freemangordon>
:)
<Wizzup>
since we add ... to a menu if it's a subm enu
<Wizzup>
in code
<Wizzup>
so it's kind of the inverse
<Wizzup>
but we could add a back arrow icon to the button
<freemangordon>
filemanager_folder_up.png
<freemangordon>
that one
<Wizzup>
ok
<freemangordon>
could you push the changes?
<Wizzup>
so setIcon('filemanager_folder_up.png') ?
<freemangordon>
mhm
<Wizzup>
I pushed a fixup commit just now
<freemangordon>
lets try it
<dsc_>
QIcon("path"))
<dsc_>
setIcon(QIcon("path"))
<Wizzup>
right
<Wizzup>
does that need to be an absolute path
<dsc_>
yes
<dsc_>
preferably its cached even ;))
<dsc_>
but np
<dsc_>
its probably a 800 bytes icon
<freemangordon>
685 :D
<dsc_>
poor sd card :x
<Wizzup>
freemangordon: please try
<Wizzup>
I can't get it to work (with limited effort I will admit)
<Wizzup>
m_backAction = new QAction("..." + m_menu_nest.last()->title());
System_Error has quit [Remote host closed the connection]
<freemangordon>
Wizzup: why is code in updateMenuActions() commented out?
<freemangordon>
ah...
<freemangordon>
error: ‘QMaemo5Style’ was not declared in this scope
<freemangordon>
ok, this has to be fixed
System_Error has joined #maemo-leste
arno11 has left #maemo-leste [#maemo-leste]
<freemangordon>
Wizzup: a bug: going back from a second level submenu gets you to root, not to parent menu
<freemangordon>
tested with qtcrestor
<freemangordon>
*qtcreator
unic0rn|maemo has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
unic0rn|maemo has quit [Client Quit]
System_Error has joined #maemo-leste
<unic0rn>
not sure if I've mentioned it, but separate notification toggle for different IM accounts (or ideally, per chat window) would be useful
<Wizzup>
freemangordon: ok, I will try to fix this, I thought I solved this
<Wizzup>
I'm on a work call atm but will pick this up later or tomorrow
<dsc_>
unic0rn: indeed
<unic0rn>
as for battery life, not a great test since mine is half-dead and showing a bit over 700mAh capacity currently
<unic0rn>
but with wifi, mail and 2 irc networks (3 channels total, very light traffic), as well as very light use (some irc checking, some file editing in terminal), battery lasted well over 12h
<unic0rn>
not great, but then, this battery is dead
<unic0rn>
mostly at least
<unic0rn>
I'll have to figure out some random load, perhaps with a script, to check how it performs when clocks are in the middle with conservative scheduler
<unic0rn>
maybe some very low bitrate video
akossh has quit [Quit: Leaving.]
d4dsc has left #maemo-leste [#maemo-leste]
d4dsc has joined #maemo-leste
<dsc_>
QApplication::font().pointSize() returns '18', at least in conversations - am expecting something like 14 I guess?
<dsc_>
maybe im overriding it somewhere
<Wizzup>
freemangordon: ok, I fixed the menus in qtcreator
<Wizzup>
I think I will just build this for devel
uvos has quit [Remote host closed the connection]
ac_laptop has joined #maemo-leste
branon_ has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]