#gemrb@irc.freenode.net logs for 24 May 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[03:38:39] <-- brada has left IRC (Quit: brada)
[04:42:26] --> brada has joined #gemrb
[08:23:24] <-- Drakkar has left IRC (Ping timeout: 256 seconds)
[08:49:01] <psch> brada: i can't seem to get any right clicks
[08:49:20] <psch> they're still as tap+hold, right?
[08:49:40] <psch> and right clicking any item in the inventory should give me the deal screen, with e.g. transcribe for scrolls on a mage
[08:49:45] <psch> if i remember correctly
[08:56:22] <psch> correction: i do get right clicks when i tap and hold one finger for about a second, then tap twice with a second finger without releasing the first and keep holding for about 2 second with the first finger before releasing
[09:10:08] <psch> s/deal/detail/
[09:23:31] --> WingedHussar has joined #gemrb
[09:38:48] --> lynxlynxlynx has joined #gemrb
[09:38:48] <-- lynxlynxlynx has left IRC (Changing host)
[09:38:48] --> lynxlynxlynx has joined #gemrb
[09:38:48] --- ChanServ gives channel operator status to lynxlynxlynx
[09:58:57] --> LT|Lightkey has joined #gemrb
[10:15:01] <-- LT|Lightkey has left IRC (Ping timeout: 248 seconds)
[10:16:51] --> LT|Lightkey has joined #gemrb
[11:07:58] --> Drakkar has joined #gemrb
[11:12:37] <-- Drakkar has left IRC (Ping timeout: 248 seconds)
[11:28:17] <-- LT|Lightkey has left IRC (Ping timeout: 252 seconds)
[12:01:27] --> LT|Lightkey has joined #gemrb
[13:05:30] --> Drakkar has joined #gemrb
[13:10:08] <-- Drakkar has left IRC (Ping timeout: 240 seconds)
[14:26:22] <-- tomprince has left IRC (Ping timeout: 267 seconds)
[14:32:11] --> tomprince has joined #gemrb
[14:44:19] <-- LT|Lightkey has left IRC (Ping timeout: 264 seconds)
[14:58:11] --> LT|Lightkey has joined #gemrb
[15:03:27] --> Drakkar has joined #gemrb
[15:08:34] <-- Drakkar has left IRC (Ping timeout: 252 seconds)
[15:11:05] --> Maighstir has joined #gemrb
[15:16:06] <-- WingedHussar has left IRC (Quit: WingedHussar)
[15:20:19] <-- LT|Lightkey has left IRC (Ping timeout: 264 seconds)
[15:20:38] --> LT|Lightkey has joined #gemrb
[15:36:40] <brada> psch: new build?
[15:38:21] <psch> the right click behavior i mentioned above is ok for you?
[15:40:17] <-- LT|Lightkey has left IRC (Ping timeout: 256 seconds)
[15:40:29] <brada> on git head yes
[15:40:46] <psch> alright
[15:41:06] <brada> are you not?
[15:41:25] <psch> it seems kind of cumbersome, but seeing as it's still in development i guess it's ok
[15:41:43] <psch> i don't remember if/(how well) right clicks worked before
[15:41:58] <psch> http://filebin.ca/iDZoSFIC4cp md5 de754991a94d57c6ae26bd791b4d55dd
[15:42:10] <psch> who can put this on sf? lynxlynxlynx back with passwords again?
[15:42:26] <psch> *in reach of passwords
[15:42:32] <brada> well
[15:42:36] <brada> dont do that
[15:42:41] <lynxlynxlynx> yeah, back home
[15:42:42] <brada> if its broken
[15:43:01] <brada> dont rely on my simulator testing
[15:43:22] <psch> well, i'd assume some 4 second finger gymnastics is broken for right clicks
[15:43:34] <psch> which is why i was asking
[15:43:52] <brada> you can roll back my recent commits to see when it broke
[15:44:51] <brada> anyway dont post a build that is more broken or broken in a different way
[15:45:45] <psch> yeah
[15:48:24] --> LT|Lightkey has joined #gemrb
[15:54:01] <-- LT|Lightkey has left IRC (Ping timeout: 246 seconds)
[16:01:41] <psch> i check a few revisions back to d83a5111, and none of them have working right clicks
[16:02:31] <psch> i probably missed testing them throughout quite a bit, sorry
[16:02:38] --> fizzle has joined #gemrb
[16:06:15] --> LT|Lightkey has joined #gemrb
[16:12:25] <lynxlynxlynx> hey LT|Lightkey, what have you been up to?
[16:12:55] <brada> psch: go back to git head
[16:13:23] <brada> try this patch
[16:17:21] <brada> http://paste.debian.net/6317/
[16:17:22] <Pepelka> debian Pastezone
[16:21:32] <brada> psch: if its not too late this one is better: http://paste.debian.net/6318/
[16:21:32] <Pepelka> debian Pastezone
[16:23:27] <LT|Lightkey> lynxlynxlynx: you mean on the LinuxTag?
[16:23:42] <lynxlynxlynx> oh, you're there?
[16:24:18] <LT|Lightkey> with my brand new Pandora, typing is still a little slow
[16:25:11] <LT|Lightkey> Vodafail managed to keep me offline for over three months
[16:25:39] <lynxlynxlynx> ouch
[16:26:17] <psch> second patch works
[16:26:31] <psch> the right click triggers before lifting the finger, though
[16:29:17] <psch> right clicking items and portrait both work; im not sure where else i could test them
[16:29:28] <psch> i do get the selection rect again when going back from portrait to viewport though
[16:29:56] <brada> psch: its supposed to
[16:31:04] <brada> dont know what you mean about the selection rect
[16:31:17] <psch> what you fixed with 1d488ad
[16:31:32] <psch> i.e. when i click on a portrait and then back into the game control i get a selection rect on two finger touch for example
[16:31:57] <psch> eh, nevermind that
[16:32:06] <psch> i'll spend a bit more with it first
[16:33:25] <brada> im completely unable to replicate, tho im sill not sure i understand how im supposed to replicate
[16:33:55] <psch> yeah, disregard as above, it behaves a bit differently
[16:34:44] <psch> portrait right clicks are unreliable, similarly as with left click it seems i have to right click twice succession to get an actual right click to get to the inventory
[16:34:45] <brada> one more patch
[16:34:58] <psch> sure
[16:36:11] <brada> revert that one and apply this one
[16:37:04] <brada> http://paste.debian.net/6325/
[16:37:04] <Pepelka> debian Pastezone
[16:41:57] <brada> RC shouldnt happen with more than one finger anymore
[16:44:58] <psch> the last one doesn't give me right clicks, except with the "tap twice with 2nd finger" workaround
[16:48:32] <psch> to be precise: inventory needs the two 2nd finger taps, portrait works with two hold-taps, i.e. tap, hold a moment, release, tap, hold -> inventory pops up
[16:55:20] <brada> that doesnt make any sense
[16:55:41] <brada> BG2?
[16:55:52] <psch> bg1
[16:57:12] <-- LT|Lightkey has left IRC (Ping timeout: 256 seconds)
[16:57:19] <psch> huh
[16:57:36] <psch> i don't need the workaround after i went to the inventory via right click on a portrait at least once
[16:58:27] <psch> maybe this is again the sensitivity of my touch screen
[16:59:30] <brada> unless it is seeing multiple touches...
[16:59:41] <brada> ie multiple fingers
[16:59:59] <psch> im thinking im moving slightly
[17:00:04] <psch> which turns up as a drag
[17:00:23] <brada> sure
[17:00:30] <brada> let me try that
[17:01:14] <brada> that must be it
[17:01:39] --> Drakkar has joined #gemrb
[17:02:22] <brada> attempting a bit of a hack
[17:06:30] <-- Drakkar has left IRC (Ping timeout: 246 seconds)
[17:13:57] <brada> psch: http://paste.debian.net/6336/
[17:13:59] <Pepelka> debian Pastezone
[17:15:38] --> rocket_hamster has joined #gemrb
[17:19:39] <psch> that one breaks the selection rectangle
[17:19:46] <psch> right clicks work, from what i can see
[17:20:01] <psch> in the inventory they work right away, portrait right clicks behave like left clicks, i.e. twice works
[17:21:18] <rocket_hamster> what happened to git
[17:21:25] <rocket_hamster> something changed it wont pull now
[17:21:30] <rocket_hamster> liek it used to :/
[17:21:39] <psch> migration to github?
[17:21:56] <rocket_hamster> no i mean they changed something in git
[17:22:00] <rocket_hamster> it wont pull now
[17:22:04] <rocket_hamster> it says its up to date
[17:23:06] <psch> what's your output for git remote -v
[17:23:24] <rocket_hamster> origin git://gemrb.git.sourceforge.net/gitroot/gemrb/gemrb (fetch)
[17:23:31] <rocket_hamster> and same for push
[17:23:40] <psch> the up-to-date code is at github now
[17:23:45] <rocket_hamster> oh
[17:23:53] <rocket_hamster> why?
[17:24:08] <psch> some politics thing i didn't understand; sourceforge are changing their platform
[17:24:14] <rocket_hamster> i see
[17:24:19] <rocket_hamster> i like github more anyway
[17:24:39] <psch> you can migrate with "git remote set-url origin git://github.com/gemrb/gemrb.git", i think
[17:24:54] <rocket_hamster> yes thanks!
[17:25:25] <rocket_hamster> heh i will clone anyway
[17:25:25] <rocket_hamster> just to be sure
[17:26:04] <rocket_hamster> oh its working
[17:26:30] <rocket_hamster> damn so fast, i hate svn at work
[17:29:46] <brada> psch: i doubt it breaks the selection rect
[17:32:22] <psch> well, tap and drag doesn't show a selection rect nor do party members get selected
[17:34:25] --> Drakkar has joined #gemrb
[17:34:50] <brada> well i meant that hack works by meeting a minimum movement delta so you should select by doing so quickly. not that it matters since i just wanted to see if that would work for RC
[17:35:44] <psch> i see
[17:37:19] <psch> well, as i have it here from that patch i am unable to produce the selection rectangle
[17:38:21] <psch> except one time just now, when i wanted to scroll with two fingers
[17:38:34] <psch> touch input seems really hard
[17:38:54] <brada> we kinda seem to need a way to get the control under the mouse
[17:39:20] <brada> im not sure how to even go about that
[17:44:56] <brada> psch: the problem this time actually is that i forgot to unnormalize the coordinates
[17:49:06] <brada> http://paste.debian.net/6344/
[17:49:07] <Pepelka> debian Pastezone
[17:49:16] <brada> psch: that whould do the trick
[17:52:45] <psch> i can confirm that
[17:53:42] <psch> portrait and inventory right clicks both work straight away
[17:54:00] <brada> yeah
[17:54:07] <brada> breaks portrait dragging tho
[17:54:35] <psch> mhm
[17:54:43] <psch> the portrait bar in general still seems wonky
[17:55:04] <rocket_hamster> lol guys orb spell is still imbakill :D
[17:55:33] <psch> i do have the problem with the selection rect appearing when it shouldnt again, i.e. double tap to select one character, two finger drag for scrolling -> selection rectangle
[17:55:59] <psch> related, when i only tap one portrait once and try two finger dragging after that it doesn't scroll
[17:56:17] <psch> but that was there before, in any case
[17:58:03] <brada> psch: you would have to bisect after i commit to find when/how it breaks
[17:58:11] <brada> since its not something i can replicate with a simulator
[17:58:38] <psch> yeah, i can do that
[17:59:09] <psch> not right now though, but i have some time tomorrow
[18:01:07] <brada> psch: what happens if you change the MIN_GESTURE_DELTA_PIXELS to 1 or 2?
[18:01:50] <brada> seems to allow me to drag portraits
[18:02:56] <brada> definately still buggy :/
[18:04:17] <brada> kinda irritating that your touchscreen reports movement when you are holding your finger still
[18:05:45] <psch> it's more like that holding my finger still enough to not get movement reported requires more effort in gemrb than in other apps
[18:06:15] <psch> i'd guess this is because we/sdl are/is operating on a finer scale than android itself is
[18:07:14] <brada> well sdl gets the events from android so...
[18:08:00] <psch> right
[18:09:08] <psch> i guess that means i have shaky hands
[18:09:39] <brada> i can replicate the non scroll scenario
[18:09:50] <brada> because the button has focus so the scroll events go there
[18:12:44] <brada> thats easy enought to fix
[18:15:24] <brada> no idea how you can possibly get a selection rectangle while scrolling the vp tho
[18:15:50] <brada> the GC state is cleared as soon as 2 fingers touch the screen
[18:16:25] <brada> oh well
[18:16:49] <brada> it should be fixed by the same fix for the other thing
[18:18:06] <psch> alright
[18:19:21] <brada> psch: http://paste.debian.net/6354/
[18:19:22] <Pepelka> debian Pastezone
[18:19:29] <rocket_hamster> guys is there a way to get more log messages?
[18:19:32] <brada> if that works well enough do a new build
[18:19:57] <brada> rocket_hamster: such as?
[18:20:33] <rocket_hamster> hm more detailed logs then usual ones
[18:20:42] <rocket_hamster> logs for debugging
[18:21:17] <brada> some log messages are only there if you build with _DEGUG or some such flag
[18:21:22] <brada> but generally all our messages are always there
[18:21:28] <brada> what in particular?
[18:21:40] <rocket_hamster> combat/saving throws
[18:21:55] <rocket_hamster> spells are under attack core?
[18:22:56] <brada> im not sure
[18:23:06] <brada> probably on the TODO iirc
[18:23:34] <rocket_hamster> same as attack throws and saves?
[18:24:38] --> Yoshimo has joined #gemrb
[18:27:59] <rocket_hamster> yoshimo is willing!
[18:29:39] <psch> scrolling after portrait works
[18:30:08] <psch> portrait drag is inconsistent for me; i did manage to drag portraits a few times, but i don't understand how to do it reliably
[18:33:34] <brada> yeah me too
[18:34:04] <brada> try building against git head now. i left off some code from that patch i didnt think was needed
[18:34:10] <brada> need you to confirm things still work
[18:36:05] <psch> alright
[18:42:27] <psch> seems good to me, the right clicks work reliably, scrolling after portrait works too
[18:43:10] <brada> o_O
[18:44:22] <psch> ...what?
[18:44:23] <brada> oh
[18:44:27] <brada> i misread that
[18:44:36] <brada> i was thinking portrait dragging
[18:44:39] <psch> oh
[18:44:40] <psch> no
[18:44:42] <psch> that doesn't work
[18:44:43] <brada> yeah
[18:45:05] <brada> that likely wont work till i figure out why we need to double click them
[18:45:23] <psch> sorry, scrolling game control after clicking the portrait once
[18:45:37] <psch> or twice, for that matter
[18:45:54] <psch> scrolling game control after scrolling the text area isn't working right though
[18:46:39] <brada> thats not supposed to
[18:46:54] <brada> text areas are scrollable controls
[18:47:02] <brada> so you would be scrolling the text area
[18:47:17] <psch> yeah, the context switches seem to need some work
[18:47:18] <brada> you need to click the viewport to refocus it
[18:47:35] <psch> or maybe it's intend behavior, although some kind of focus indicator might be nice
[18:47:46] <brada> its intended-ish
[18:48:01] <brada> i mean you need to be able to scroll the textarea
[18:48:47] <psch> yeah, distinct focus switch seems most sensible to me
[18:48:48] <brada> i could limit them to scrolling with one finger only i guess
[18:48:59] <psch> i'll be back in a bit
[18:50:00] <brada> ok build and post please
[18:50:06] <brada> i need to leave or the day
[18:54:17] <-- brada has left IRC (Quit: brada)
[18:56:22] <-- Drakkar has left IRC (Ping timeout: 246 seconds)
[19:09:42] --> Drakkar has joined #gemrb
[19:37:08] <psch> lynxlynxlynx: this one please: http://filebin.ca/iEjH8nLIaqJ/gemrb-0.8.0-git-5aa84783.apk md5 d5748be159c5ff29ef617096f578e755
[19:42:02] <rocket_hamster> when i run gemrb it wont read gemrb.cfg unless im in working directory with gemrb.cfg
[19:42:05] <rocket_hamster> is that normal?
[19:47:06] <psch> $PWD is definitely one of the location it looks for a config, yes
[19:47:31] <psch> another one is /etc/gemrb/GemRB.cfg on linux
[19:47:33] <rocket_hamster> i thought its looks in $home/.gemrb
[19:47:38] <rocket_hamster> hmm
[19:50:16] <psch> you can always alias gemrb -c $PATHTO/gemrb.cfg
[19:53:07] <rocket_hamster> yes i guess solved it
[20:02:43] <rocket_hamster> so spells work like triggers that are added to target?
[20:03:56] <psch> i'll let someone qualified answer that ;)
[20:18:08] <-- rocket_hamster has left IRC (Quit: bye!)
[21:42:20] <-- fizzle has left #gemrb
[22:45:29] <lynxlynxlynx> https://sourceforge.net/projects/gemrb/files/Other%20Binaries/android/0.8.0/?
[22:45:32] <Pepelka> GemRB Game Engine - Browse /Other Binaries/android/0.8.0 at SourceForge.net
[22:45:33] <Pepelka> »GemRB is a portable open-source implementation of the Infinity Engine«
[22:49:15] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:22:31] <-- Yoshimo has left IRC (Quit: Yoshimo)