freemangordon | Wizzup: ok, it is clear why the issue: | 00:07 |
---|---|---|
freemangordon | we set custom palette on both QAbstractScrollArea and QTextEdit(which inherits QAbstractScrollArea) | 00:08 |
freemangordon | qt keeps relation between a class and its palette in a QHash, see https://codebrowser.dev/qt5/qtbase/src/widgets/kernel/qapplication_p.h.html#QApplicationPrivate::PaletteHash | 00:09 |
freemangordon | also, each time setPallette is called, handlePaletteChanged() is called as well, that sends events to all widgets, iiuc | 00:12 |
freemangordon | I guess here comes the race | 00:12 |
Wizzup | ah... | 00:20 |
freemangordon | or... | 00:20 |
freemangordon | there is a bug in qalendar | 00:20 |
freemangordon | but it is rather a style plugin/qt issue | 00:22 |
freemangordon | I will fix that tomorrow, by not setting the style to QAbstractScrollArea, but another classes | 00:22 |
freemangordon | possibly missing some, so will have to add when needed | 00:23 |
Wizzup | check | 00:23 |
freemangordon | should be fixed now, building | 00:36 |
Wizzup | freemangordon: looks like it is fixed :) | 00:44 |
freemangordon | mhm | 00:45 |
freemangordon | enough for today, zzz | 00:46 |
freemangordon | night! | 00:46 |
Wizzup | gn! | 00:50 |
norayr | Wizzup, i left after u left. before that i had long discussion with joanna explaining her that u cannot ban people before they commited the crime. i was telling her about 'minority report'. | 01:52 |
norayr | but no use. | 01:52 |
norayr | i left fpc after u left. | 01:52 |
norayr | that was a right thing to do. | 01:52 |
Wizzup | I don't know what happened to the channel, but I'll ask nickysn later, I know him irl, maybe he has some idea :D | 01:53 |
Wizzup | (for others, this is about #fpc) | 01:53 |
Wizzup | norayr: (last offtopic msg) apparently there is #fpc-alt and the fpc folks do not advertise #fpc anymore on the website because of this person | 02:13 |
buZz | ooo freepascal | 02:36 |
buZz | :D | 02:36 |
buZz | https://wiki.freepascal.org/FPC_IRC_channel | 02:40 |
norayr | heh thank u | 02:53 |
norayr | our photolightmeter is written in fpc. | 02:53 |
buZz | cool :) | 05:27 |
Wizzup | arno11: btw you can read tech mode (2g/3g/etc) from ofono | 14:46 |
Wizzup | (in case we want to switch audio delay based on network) | 15:00 |
freemangordon | what if technology is being switched while in a call? | 16:11 |
Wizzup | then we have to adjust call latency | 16:17 |
arno11 | freemangordon: Wizzup: switching tech on the fly seems to not affect cmtspeech so probably possible during a call. have to check | 16:23 |
arno11 | Wizzup: good idea but i think that's a hard task to implement | 16:25 |
arno11 | (for audio delay based on network) | 16:25 |
sicelo | i think Wizzup meant switching your delay parameters, not the tech | 16:43 |
Wizzup | right | 16:46 |
arno11 | sicelo: i understand :) | 16:48 |
arno11 | but switching delay parameters is not easy | 16:49 |
arno11 | Wizzup: ok so for fmg question switching tech during a call close the connection | 17:03 |
Wizzup | can't we change the latency params at runtime? | 17:06 |
freemangordon | arno11: you do that through ofono? | 17:07 |
arno11 | freemangordon: yes | 17:07 |
freemangordon | my point was - what if modem do that | 17:07 |
freemangordon | afaik it can fallback 3G->2G | 17:07 |
Wizzup | then ofono will know | 17:08 |
Wizzup | and will indicate this | 17:08 |
arno11 | ah ok | 17:08 |
Wizzup | so I was not at all suggesting we tell ofono to switch tech | 17:08 |
Wizzup | all I said was | 17:08 |
Wizzup | let's change PA latency params if ofono informs us the modem switched tech | 17:08 |
Wizzup | maybe more clear now :D | 17:08 |
freemangordon | mhm | 17:08 |
arno11 | lol yes very clear | 17:08 |
freemangordon | maybe my question was not clear | 17:08 |
arno11 | that's just 2 different scenari | 17:09 |
arno11 | i think it should work if the modem do that | 17:10 |
arno11 | Wizzup: definitely really complicated to change PA latency during runtime | 17:11 |
arno11 | sorry guys. kids time so that's complicated to talk lol | 17:12 |
arno11 | back in few hours | 17:13 |
freemangordon | Wizzup: do we have a replacement for QAbstractKineticScroller? | 17:18 |
freemangordon | QScroller it seems | 17:22 |
Wizzup | yes, QScroller | 17:23 |
Wizzup | and it kind of needs to be added just about everywhere | 17:23 |
arno11 | Wizzup: weird thing but cool: as previously discussed i'm now using 44100hz with resampling (soxr hq) and the weird incoming bug almost disappeard... | 20:26 |
arno11 | with no ofono audiosettings/voicacall modifications | 20:28 |
arno11 | it means PA does a lot of things dynamically (not a surprise) and resampling method has a huge inpact on how PA reacts with cmtspeech (half a surprise) | 20:33 |
arno11 | anyway it seems stable | 20:36 |
Wizzup | cool, but the incoming call bug you also has fixed with better ofono interaction right? | 20:38 |
arno11 | yes indeed but once the issue solved a new issue appeard...lol | 20:39 |
arno11 | using soxr | 20:39 |
arno11 | once removing ofono fix everything is fine | 20:39 |
arno11 | so weird | 20:39 |
arno11 | the new issue was recording starting to late... | 20:40 |
arno11 | *record | 20:40 |
arno11 | so IMO cmtspeech with very few modif is enough | 20:41 |
arno11 | my explaination is unclear: in fact the 15 sec bug was due to wrong resampling (undirectly) so the root cause was not cmtspeech code | 20:44 |
freemangordon | Wizzup: have OMP compiled here :) | 20:44 |
arno11 | my ofono fix works with no/different resampling method and causes other troubles i didn't notice | 20:45 |
freemangordon | not that it works though | 20:45 |
freemangordon | we will need mafw-tracker-source | 20:45 |
Wizzup | freemangordon: yes, and that needs porting to new tracker iface I think | 20:49 |
Wizzup | arok | 20:49 |
Wizzup | arno11: ok | 20:49 |
freemangordon | mhm | 20:50 |
Wizzup | also great @ compiled, | 20:50 |
freemangordon | but I will first try to make it work with iradio source | 20:50 |
freemangordon | I used | 20:50 |
Wizzup | I got to that point long time ago but ui was white, at least where lists where | 20:50 |
freemangordon | ... | 20:50 |
Wizzup | then I thought it was not working | 20:50 |
freemangordon | rigth, the issue with style plugin | 20:51 |
Wizzup | but maybe it was just empty list | 20:51 |
Wizzup | yeah.... | 20:51 |
freemangordon | mhm | 20:51 |
freemangordon | Wizzup: used 'porting' branch, is that ok? | 20:51 |
freemangordon | https://github.com/maemo-leste-extras/openmediaplayer/tree/porting | 20:52 |
Wizzup | let me check | 20:54 |
Wizzup | I think so, I think dsc also did some cmake work on it | 20:54 |
Wizzup | but nothing beyond cmake I think | 20:54 |
freemangordon | yeah, but in another branch | 20:54 |
freemangordon | mhm | 20:54 |
Wizzup | he did refactor the project | 20:54 |
freemangordon | basically I have everything ported to the point it compiles | 20:54 |
Wizzup | so if we do want to use cmake, we might want to use that from the get go | 20:54 |
Wizzup | yeah, that's what I did at the time | 20:54 |
freemangordon | sure, but i think we first want it working | 20:55 |
freemangordon | also, I am not a big fan of cmake | 20:55 |
freemangordon | YAY! | 20:56 |
freemangordon | iradiosource works | 20:56 |
Wizzup | in the ui? | 20:57 |
freemangordon | yes | 20:57 |
Wizzup | wow :) | 20:57 |
freemangordon | sec | 20:57 |
freemangordon | Wizzup: http://95.43.220.235/mafw/OMP_02_05_2023_21_57_51.png | 20:59 |
arno11 | freemangordon: :) | 21:00 |
Wizzup | freemangordon: amazing | 21:01 |
Wizzup | I will get the new post out before the end of the week | 21:01 |
Wizzup | also with qt fixes, n900 calls wip, etc | 21:01 |
arno11 | and z-rock rocks | 21:01 |
Wizzup | and uvos__ had xt1602 booting | 21:01 |
Wizzup | freemangordon: the qmenu needs to be hidden btw, but I can do that later | 21:01 |
freemangordon | arno11: heh? you know the station? | 21:01 |
freemangordon | Wizzup: yes, but I have no idea how | 21:02 |
Wizzup | freemangordon: I'm kind of happy all my random porting on OMP worked tbh :D | 21:02 |
arno11 | yes thx to you | 21:02 |
freemangordon | heh :) | 21:02 |
Wizzup | freemangordon: other qt apps do it | 21:02 |
Wizzup | sec | 21:02 |
Wizzup | #ifdef Q_WS_MAEMO_5 menuBar()->hide(); // hide menubar | 21:02 |
Wizzup | #endif | 21:02 |
freemangordon | well, I will push my work so far | 21:02 |
Wizzup | heh ok | 21:02 |
freemangordon | gimme 5 minutes | 21:02 |
Wizzup | I am in a car for the next ~1.5 hours anyway | 21:03 |
Wizzup | no rush | 21:03 |
freemangordon | ok | 21:03 |
freemangordon | Wizzup: pushed | 21:10 |
freemangordon | I am not 100% sure changes are proper, but at least we have something to start with | 21:10 |
Wizzup | yeah | 21:11 |
Wizzup | I believe debian has a much newer version of gnome tracker than what our sourceu ses | 21:12 |
freemangordon | yeah | 21:12 |
freemangordon | and unfortunately they use sparql AFAIK | 21:12 |
Wizzup | https://wiki.gnome.org/Projects/Tracker/Documentation/GettingStarted | 21:13 |
Wizzup | looks like sqlite | 21:13 |
freemangordon | ummm | 21:13 |
freemangordon | queries are done in sparql, not sql | 21:14 |
freemangordon | last time I chakced that is | 21:14 |
freemangordon | *checked | 21:14 |
Wizzup | old or new tracker? | 21:14 |
freemangordon | new | 21:14 |
freemangordon | but thos was a while ago - when I was porting libhildonfm | 21:14 |
freemangordon | *that was | 21:14 |
Wizzup | mhm | 21:15 |
Wizzup | idk | 21:15 |
Wizzup | maybe it is | 21:15 |
freemangordon | it still lacks tracker code | 21:15 |
freemangordon | https://github.com/maemo-leste/libhildonfm/blob/25d4df403edbe1047a3fd13cfc0a5c270653ea3e/hildon-fm/hildon-file-system-model.c#L131 | 21:15 |
Wizzup | btw, regarding qcroller | 21:18 |
Wizzup | I wonder if we should just add one to every scroll area or not | 21:18 |
Wizzup | since many apps that have a scrollbar are really hard to use | 21:18 |
freemangordon | I think yes | 21:18 |
Wizzup | so maybe in maemo theme we can just give everything a qscroller | 21:18 |
Wizzup | theme or qpa | 21:18 |
freemangordon | hmm | 21:19 |
freemangordon | not sure | 21:19 |
Wizzup | right | 21:19 |
Wizzup | it's tricky | 21:19 |
freemangordon | how do you know which widget to add scroller to? | 21:19 |
Wizzup | oh, scrollareas I guess | 21:19 |
Wizzup | maybe lists | 21:19 |
Wizzup | treeviews | 21:19 |
Wizzup | we know when they are created at least | 21:20 |
Wizzup | but yeah I am not sure | 21:20 |
freemangordon | maybe to all qabstractscrollarea ancesstors | 21:20 |
Wizzup | right | 21:20 |
freemangordon | or just fix the applications :) | 21:20 |
Wizzup | I am not sure if it really is the application that needs fixing | 21:20 |
Wizzup | I mean, I did fix a bunch for maemo | 21:21 |
Wizzup | but there are many more qt apps that would benefit from it straight from debian | 21:21 |
freemangordon | hmm, right | 21:21 |
Wizzup | like in many cases you cannot even scroll settings window | 21:21 |
freemangordon | right | 21:23 |
freemangordon | Wizzup: menu bars are hidden | 21:39 |
Wizzup | great | 21:41 |
freemangordon | seems there is some issue with stacked windows | 21:42 |
freemangordon | the third one appears as a separate window | 21:42 |
freemangordon | hmm, but not every time | 21:43 |
freemangordon | maybe some issue on 64 bitrs | 21:44 |
freemangordon | *bits | 21:44 |
Wizzup | I think this is a qt qpa problem | 21:46 |
Wizzup | these is a bug for it | 21:46 |
Wizzup | as in my qt qpa | 21:46 |
freemangordon | ah | 21:47 |
freemangordon | if you give me some hints I can try to fix it | 21:47 |
Wizzup | freemangordon: ok, but not right now | 21:54 |
Wizzup | if you search bugtracker for stacked qt | 21:54 |
Wizzup | you will probably find it | 21:54 |
freemangordon | yeah | 21:54 |
freemangordon | found it | 21:54 |
freemangordon | https://github.com/maemo-leste/qt-platform-maemo/commit/1a2d0aa995fe928ae354a8c82e542ff9a187cd7a | 21:55 |
freemangordon | I am not sure I fully understand the commit message, but lets stop for now | 21:55 |
Wizzup | yeah, still in car | 21:56 |
arno11 | does anyone have a temporary fix for sphone portrait mode issue on n900 ? (it makes me crazy...) | 22:59 |
Wizzup | arno11: yes, rebuilding sphone and removing the force-request for portrait moe | 23:30 |
Wizzup | find all the HILDON_PORTRAIT_MODE_SUPPORT and remove them | 23:31 |
Wizzup | i.e. | 23:31 |
Wizzup | hildon_gtk_window_set_portrait_flags(GTK_WINDOW(g_history_calls.window), HILDON_); | 23:31 |
arno11 | ok cool ! thx | 23:33 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!