xmn has joined #maemo-leste
Pali has quit [Ping timeout: 246 seconds]
Daanct12 has joined #maemo-leste
Daanct12 has quit [Read error: Connection reset by peer]
Daanct12 has joined #maemo-leste
joerg has quit [Ping timeout: 240 seconds]
joerg has joined #maemo-leste
macros_2ndPC has quit [Ping timeout: 265 seconds]
macros_2ndPC has joined #maemo-leste
xmn has quit [Ping timeout: 248 seconds]
elastic_dog has quit [Ping timeout: 246 seconds]
elastic_dog has joined #maemo-leste
<freemangordon> Wizzup: do we have any idea what needs to be done to fix qt white background?
<freemangordon> uvos: ^^^
uvos__ has joined #maemo-leste
<Wizzup> I don't really know
peetah has quit [Quit: -]
peetah has joined #maemo-leste
Pali has joined #maemo-leste
<freemangordon> ok. it seems QAbstractScrollArea has wrong pallette
<Wizzup> freemangordon: super great if you figure it out
<freemangordon> I am on it
Daanct12 has quit [Ping timeout: 250 seconds]
<freemangordon> Wizzup: drawControl does not get called when style == maemo5
<freemangordon> trying to understand why
<Wizzup> freemangordon: maybe a function signature mismatch or override missing?
<freemangordon> yes, Q_DECL_OVERRIDE is missing
<freemangordon> trying with it ATM
<freemangordon> nope
<freemangordon> hmm, QFrame::paintEvent is not called
<Wizzup> is our paintevent virtual or real?
<freemangordon> we don;t havew one
<Wizzup> that is a weird looking case stmt
<freemangordon> because of the local variable
<freemangordon> but that's not the issue
<Wizzup> does it get to the paintevent part at least
<freemangordon> no
<freemangordon> I guess we override something in such a way that we stop the event
<freemangordon> will start commenting the code to see what breaks it
<Wizzup> hm
<Wizzup> could be event filter
<freemangordon> mhm
<freemangordon> where it is?
<Wizzup> it is in gtk2, not mameo5, so probably not
<freemangordon> ok
<Wizzup> I read online somewhere that repaint() will call paint event, and update() might not
<Wizzup> not sure if this is it
<freemangordon> hmm, I think I made some progress
<freemangordon> gimme some time to see what exactly I found
<Wizzup> ok
<Wizzup> oh, ignore my thing about update vs repaint
<freemangordon> and drawControl called
<freemangordon> but background is wrong
<freemangordon> so it is not that
<freemangordon> sorry, false alarm, missing call to drawControl is because maemo forces no frame
xmn has joined #maemo-leste
recyclehero has quit [Quit: leaving]
norayr has left #maemo-leste [Error from remote client]
norayr has joined #maemo-leste
<freemangordon> for some reason it seems qlistview is using standard palette
<Wizzup> hmmmm
<Wizzup> where is this getTextColorWidget called?
<freemangordon> from gtk style
<freemangordon> Wizzup: there was one more issue actually, QMaemo5StylePrivate::applyCustomPaletteHash was not called, because applyCustomPaletteHash in parent class was not virtual
<freemangordon> but even after fixing it, it still does not work properly
<freemangordon> albeit it does qApp->setPalette(gtkWidgetPalette("HildonPannableArea.GtkTreeView"), "QAbstractScrollArea");
<Wizzup> should that be GtkListView instead of GtkTreeView? probably does not matter
<Wizzup> sounds like you're getting closer actually
<freemangordon> yes, it does not
<freemangordon> mhm
<freemangordon> for some reason no custom palette is applied to QAbstractScrollArea
<freemangordon> Wizzup: hmm, actually it seems to be a bug in gtk style plugin
<freemangordon> gtkWidgetPalette does not set QPalette::Base
<Wizzup> arg...
<freemangordon> with that fixed, it seems to work properly, lemme make sure
<freemangordon> YAY!
<freemangordon> lemme push the fixes
<freemangordon> phew, this one was driving me nuts for long time
<Wizzup> great.... :)
<Wizzup> I will really try to have news post this weekend
<Wizzup> we should also let pavel know
<Wizzup> he asked @ fosdem
<Wizzup> :p
<freemangordon> 'know'?
<freemangordon> what about?
elastic_dog has quit [Ping timeout: 256 seconds]
elastic_dog has joined #maemo-leste
LjL is now known as Server
Server is now known as LjL
<Wizzup> freemangordon: god this is so much better
<Wizzup> freemangordon: pavel asked about the qt theming bug
arno11 has joined #maemo-leste
<Wizzup> freemangordon: in calendar the textarea is still white on black, as opposed to black on white (go to tasks or notes and then use new note or new task)
<aczid> hi, I'm not sure if this is the right place to ask such a noob question, but: I really miss the keyboard shortcut ctrl+backspace to go to the overview of running apps. was it removed intentionally or am I running in to a bug, and how do I get it back?
<aczid> otherwise as a user after not playing with maemo-leste for almost 2 years it's really impressive how much better everything has gotten! respect
<Wizzup> is this on the droid 4, or n900?
<aczid> droid4
<Wizzup> I think the reason that is doesn't work is because it is mapped to the 'home' icon on your touch screen
<Wizzup> and we probably don't allow multiple keys to be mapped to one action
<Wizzup> (just a guess)
<aczid> where does that shortcut mapping happen anyway?
<Wizzup> it is /usr/share/hildon-desktop/shortcuts.ini.leste
<Wizzup> well, without the .leste
<Wizzup> there is also this btw (WIP) http://maemo-leste-manual.motionlibre.org/index.html
<Wizzup> http://maemo-leste-manual.motionlibre.org/chapters/ui.html these are more or less finished
<aczid> thanks I figured it would be hildon but I only grepped around in /etc/ for it
<aczid> ah great
<aczid> didn't find that anywhere yet (github/wiki) so much appreciated. looks great
<sicelo> aczid: did it ever work on Droid 4? or you're an ex-N900 user?
<Wizzup> yeah the doc is still wip and not really publicized
<aczid> sicelo: it did work on the droid4 with a quite old version of leste before I dist-upgraded, and yes I used the n900 before
<aczid> could very well be that that version didn't have the on screen buttons yet, I first noticed them after
<aczid> so I'm optimistic that Wizzup's intuition is right
<arno11> Wizzup: did you see my messages about 44100/48000hz ?
<arno11> (because we should keep the default 44100hz rate)
<arno11> and i think we can use only one asound.state for the moment
<arno11> the custom one works well with calls, video and music with no troubles (but at 44100hz)
<arno11> ATO i didn't find a way to use the earphone...
<Wizzup> arno11: I will have to check re 44.1
<Wizzup> but yes, we can never have one asound state
<Wizzup> this is why we need ucm
<Wizzup> sphone will already switch to HiFo or VoiceCall profiles if they are defined
<Wizzup> HiFi*
<arno11> ah cool
<arno11> and did you try 2G calls (just to compare with my device) ?
<Wizzup> not yet
<Wizzup> at least I think I was on 3G
<arno11> ok
<Wizzup> I agree with keeping default rate, so we do not need 48000 at all?
<arno11> exactly
<arno11> thanks to soxr resampling
<Wizzup> so I guess there are few things remaining:
<Wizzup> - your work on cmtspeech to use the right VoiceCall state
<Wizzup> - UCM
<Wizzup> - module loading (either loading it at the right time or fixing the module to probe later)
<Wizzup> for now we can make an init script that loads the module
<Wizzup> the UCM is more tricky I think
<arno11> yes agree
arno11 has left #maemo-leste [#maemo-leste]
<freemangordon> Wizzup: ok, will have a look
<freemangordon> Wizzup: sorry, I don;t understand what the issue is
<freemangordon> oh
<freemangordon> got it
<Wizzup> freemangordon: yeah, for the larger than one line text field
<freemangordon> but was it ok before my changes?
<Wizzup> I don't remember
<Wizzup> let me see if I can figure it out
<Wizzup> looks like it, yes
<Wizzup> at least on my beowulf bionic
<Wizzup> let me check my chimaera n900
<freemangordon> hmm
<Wizzup> hum, wait
<Wizzup> I am not sure if I can still reproduce it
<Wizzup> it looks fine on my d4 with latest packages now (?)
<Wizzup> what the
<freemangordon> I can
<freemangordon> which is weird
<Wizzup> could it be some graphical glitch?
<Wizzup> restarted it, now I see it black again
<freemangordon> no, I can repro on both d4 and VM
<Wizzup> (it = qalendar)
<freemangordon> mhm
<freemangordon> weird
<freemangordon> maybe a bug in qtcalendar
<Wizzup> could be, but I don't think it happened before
<freemangordon> because the same widget looks fine in separate project (QTextEdit)
<Wizzup> maybe it depends on the widgets used/loaded by a qt project
<freemangordon> or the order
<Wizzup> yeah
<freemangordon> but it is steady reproducible here
Keeblo has joined #maemo-leste
Keeblo has quit [Remote host closed the connection]
<freemangordon> Wizzup: ok, it is clear why the issue:
<freemangordon> we set custom palette on both QAbstractScrollArea and QTextEdit(which inherits QAbstractScrollArea)
<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
<freemangordon> also, each time setPallette is called, handlePaletteChanged() is called as well, that sends events to all widgets, iiuc
<freemangordon> I guess here comes the race
<Wizzup> ah...
<freemangordon> or...
<freemangordon> there is a bug in qalendar
<freemangordon> but it is rather a style plugin/qt issue
<freemangordon> I will fix that tomorrow, by not setting the style to QAbstractScrollArea, but another classes
elastic_dog is now known as Guest6438
elastic_dog has joined #maemo-leste
Guest6438 has quit [Killed (zirconium.libera.chat (Nickname regained by services))]
<freemangordon> possibly missing some, so will have to add when needed
<Wizzup> check
<freemangordon> should be fixed now, building
<Wizzup> freemangordon: looks like it is fixed :)
<freemangordon> mhm
<freemangordon> enough for today, zzz
<freemangordon> night!
<Wizzup> gn!
Pali has quit [Quit: Pali]
uvos__ has quit [Ping timeout: 260 seconds]
<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'.
<norayr> but no use.
<norayr> i left fpc after u left.
<norayr> that was a right thing to do.
<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
<Wizzup> (for others, this is about #fpc)