MythLogBot@irc.freenode.net :: #mythtv-theming

Daily chat history

Current users (15):

Captain_Murdoch, mrand, MythLogBot, stuartm, anykey_, jpabq, justinh, k-man, knightr, mag0o, wagnerrp, sphery, brfransen, skd5aner, jpabq|
Friday, September 23rd, 2011, 03:18 UTC
[03:18:24] k-man (k-man!~k-man@unaffiliated/k-man) has quit (Ping timeout: 258 seconds)
[03:24:07] k-man_ (k-man_!~k-man@unaffiliated/k-man) has joined #mythtv-theming
[03:56:09] k-man_ is now known as k-man
[07:48:58] k-man (k-man!~k-man@unaffiliated/k-man) has quit (Quit: I'm out of here.)
[07:50:29] justinh: <scroll> ?
[07:53:08] k-man_ (k-man_!~k-man@unaffiliated/k-man) has joined #mythtv-theming
[08:00:50] justinh: this? git clone git://github.com/MythTV/mythtv.git
[08:00:52] justinh: oops
[08:04:56] k-man_ is now known as k-man
[08:05:02] justinh: ooo. looks like text scrolling has arrived
[08:07:05] justinh: jpabq: appears that it's just another textarea attribute... so the form would be <scroll>left/right/up/down</scroll>
[08:07:45] justinh: see line 768–789 of libmythui/mythuitext.cpp
[08:18:22] stuartm: jpabq: scroll was incomplete
[08:18:46] stuartm: it didn't work correctly
[08:19:01] stuartm: well, not bug free
[09:12:55] justinh: so how long's it been around?
[09:13:30] justinh: looks like it's even in 0.24
[09:16:41] justinh: hahaha I see what you mean stuartm :)
[09:17:51] justinh: needs a bit of love
[09:18:45] justinh: wow it's pretty fast too
[09:20:10] justinh: scrolling text is much harder than it looks
[09:20:25] k-man: it rarely looks any good imho
[09:20:43] justinh: oh I dunno, xbmc seem to be able to pull it off ok
[09:21:06] justinh: bet it's better now they've optimised their UI drawing
[09:21:41] justinh: this method won't be helped in the slightest by qt font metrics :-\
[09:23:34] justinh: stuartm: the clipping/trailing issue looks similar to problems I ran into trying to make rotation work
[09:24:23] justinh: could be solved by padding a few chars worth of pixels either side
[09:26:37] anykey_ (anykey_!~guedel@46.126.245.147) has quit (Ping timeout: 240 seconds)
[09:27:23] justinh: maybe the solution is to put the complete text, un cut-down, into a qrect & display <area> worth of it (if scrolling up/down, pad by font height, if scrolling laterally, pad by 1st/last word width) moving in <direction>
[09:27:47] justinh: bit of a waste of memory though IMHO
[09:29:11] justinh: since it's in 0.24 & I'm back on the source again I might have a play with it
[09:34:01] anykey_ (anykey_!~guedel@46-126-245-147.dynamic.hispeed.ch) has joined #mythtv-theming
[09:40:38] k-man: back on the source? or back on the sauce?
[09:47:10] justinh: source :)
[09:47:19] justinh: waved byebye to packages. Forever
[09:47:28] k-man: yeah I did that too
[09:57:34] justinh: wahahaha http://t.co/vgCZNTCK
[10:36:01] justinh: wonder how long this piece of crap product is going to take to initialise video partitions on 6TB of HDD
[10:36:12] justinh: half a day? all day? two days? more?
[10:58:28] justinh: more. if you let it do its own thing. sigh
[10:59:10] k-man: justinh, what product?
[11:00:52] justinh: a DVR
[11:02:58] justinh: the stupid software defaults to creating 50MB files on a HDD wherein the video will be stored
[11:03:39] justinh: trouble is, that size was chosen arbitrarily & should be optimised for the size of disk – balancing memory use & speed of operation
[11:04:01] k-man: what brand is it?
[11:05:42] k-man: ah, I wish I had not sold my 9tb raid array
[11:05:46] ** k-man laments **
[11:05:50] justinh: what brand is what? the DVR? One we make. I'm not incriminating myself :D
[11:05:51] k-man: it was so nice
[11:05:59] k-man: oh, I see
[11:06:08] k-man: I thought you were talking about a product you had bought
[11:06:10] justinh: we make shite products
[11:06:33] justinh: then again I dunno anybody who works for a company that makes things who can speak highly of said product
[11:07:24] justinh: we all work for companies who use shoddy practises/take shortcuts/sell stuff before it's ready
[11:09:28] justinh: building partitions... 90% 95% ... etc.... 150% ... 159%.. complete. LOL
[12:39:29] k-man (k-man!~k-man@unaffiliated/k-man) has quit (Quit: I'm out of here.)
[12:43:06] k-man_ (k-man_!~k-man@unaffiliated/k-man) has joined #mythtv-theming
[12:45:52] k-man_ is now known as k-man
[13:53:19] knightr (knightr!~knightr@mythtv/developer/knightr) has quit (Ping timeout: 260 seconds)
[13:53:28] knightr (knightr!~knightr@mythtv/developer/knightr) has joined #mythtv-theming
[14:10:34] jpabq: stuartm, I have "scrolling" working for editing purposes. static text scrolling is not working, and I was just trying to make sure my implementation did not break the current behavior.
[14:12:04] jpabq: justinh, I have rewritten pieces of mythuitext, to get textediting working better (including multiline). Final step is to get <scroll> working.
[14:16:36] justinh: ahh. heheh nice one
[14:17:22] justinh: I gave up trying to make the cursor alignment work in the textedit xmls I've got
[15:04:41] jpabq: Cursor positioning works fine in this new stuff. Even when using a non-monospace font
[15:17:16] ** justinh beers jpabq :) **
[15:17:29] justinh: how did you fix that then? maths?
[15:17:38] justinh: or just not using qt font metrics at all?
[15:17:59] jpabq: QTextLayout
[15:19:38] jpabq: On my phone, so typing is slow
[15:58:51] justinh: ah cool :-)

IRC Logs collected by BeirdoBot.
Please use the above link to report any bugs.