--- Log opened Fri Aug 26 00:00:37 2016 20160826 00:01:52-!- Shiki [~Shiki@141.39.226.227] has quit [Quit: Verlassend] 20160826 00:34:45-!- celmin [~celticmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The minstrel departs, to spread the music to the masses!] 20160826 00:35:31-!- Haldrik [~haldrik@unaffiliated/haldrik] has quit [Quit: Leaving] 20160826 01:12:16-!- zachquest [~zachquest@162.216.46.96] has quit [Ping timeout: 244 seconds] 20160826 01:58:49-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has joined #wesnoth 20160826 02:04:18-!- Blukunfando [~bkf@82.158.13.45.dyn.user.ono.com] has joined #wesnoth 20160826 02:25:04-!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 265 seconds] 20160826 02:30:18-!- cyphase [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20160826 02:32:09-!- ArneBab [~quassel@55d44f03.access.ecotel.net] has joined #wesnoth 20160826 02:36:12-!- ArneBab_ [~quassel@55d44c7e.access.ecotel.net] has quit [Ping timeout: 250 seconds] 20160826 02:56:09-!- MadMerlin [~neil@206-248-167-197.dsl.teksavvy.com] has quit [Ping timeout: 276 seconds] 20160826 02:56:14-!- MadMerlin2 [~neil@206-248-167-197.dsl.teksavvy.com] has joined #wesnoth 20160826 03:01:41-!- Netsplit *.net <-> *.split quits: tinytoast 20160826 03:02:04-!- DMG-LPT [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160826 03:05:57-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Ping timeout: 244 seconds] 20160826 03:06:12-!- Netsplit over, joins: tinytoast 20160826 03:06:42-!- DMG-LPT [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Client Quit] 20160826 03:25:24-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has quit [Ping timeout: 276 seconds] 20160826 03:45:32-!- zachquest [~zachquest@162.216.46.191] has joined #wesnoth 20160826 03:54:40-!- Kwandulin [~Miranda@p200300760F6F2FD334CC181A855407A2.dip0.t-ipconnect.de] has joined #wesnoth 20160826 03:55:01-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has joined #wesnoth 20160826 05:00:12-!- zachquest [~zachquest@162.216.46.191] has quit [Ping timeout: 240 seconds] 20160826 05:22:12-!- zachquest [~zachquest@50-26-170-157.abilcmtk01.res.dyn.suddenlink.net] has joined #wesnoth 20160826 05:24:03-!- zachquest [~zachquest@50-26-170-157.abilcmtk01.res.dyn.suddenlink.net] has quit [Client Quit] 20160826 05:31:29-!- Dolus [~logan@72-24-8-28.cpe.cableone.net] has joined #wesnoth 20160826 05:31:35-!- Desum [~logan@72-24-8-28.cpe.cableone.net] has joined #wesnoth 20160826 05:37:37-!- Desum [~logan@72-24-8-28.cpe.cableone.net] has quit [Quit: Leaving] 20160826 06:15:57-!- Dolus [~logan@72-24-8-28.cpe.cableone.net] has quit [Remote host closed the connection] 20160826 06:31:24-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has joined #wesnoth 20160826 07:01:51-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has quit [Ping timeout: 276 seconds] 20160826 07:05:54-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] 20160826 07:30:15-!- Kwandulin [~Miranda@p200300760F6F2FD334CC181A855407A2.dip0.t-ipconnect.de] has quit [Ping timeout: 258 seconds] 20160826 07:34:37-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has joined #wesnoth 20160826 07:38:04-!- Kwandulin [~Miranda@p200300760F6F2FEC219AD9F53B09C16D.dip0.t-ipconnect.de] has joined #wesnoth 20160826 08:35:12-!- Haldrik [~haldrik@unaffiliated/haldrik] has joined #wesnoth 20160826 08:35:47< DeFender1031> vultraz, you around? 20160826 08:40:57-!- ChipmunkV [~vova@static-89-94-113-91.axione.abo.bbox.fr] has joined #wesnoth 20160826 08:41:20-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160826 09:04:02< DeFender1031> Guess I'll ask my question and either vultraz or someone else who knows GUI can answer. I've noticed that by default, grid sizing seems to be determined only when a dialog is loaded but not when it's modified. For example, if my dialog contains an image, and in the pre show function, i set that image to something 72*72, the image will render in that size. Great. But if I have, say, a listbox, and the listbox has a callback set 20160826 09:04:04< DeFender1031> on it that changes the image to something which is 144*144 in size, the dialog won't refresh its grid and only 1/4 of the image will be shown. Same thing with a label. If it starts with text which is 3 lines long, and then gets changed by a callback to text which is 8 lines long, it will still only show the first three lines. My question is whether there's some function to call to tell it to refresh its layout geometry, or if 20160826 09:04:05< DeFender1031> not, how to work around this issue. 20160826 09:15:40 * zookeeper luckily knows almost nothing of the GUI 20160826 09:37:56< DeFender1031> lucky for whom? 20160826 09:37:59< DeFender1031> :P 20160826 09:41:18< zookeeper> for myself 20160826 09:43:03< DeFender1031> Must be, because it's certainly not lucky for me :P 20160826 09:45:10< DeFender1031> in the meantime, do you know why strings i pull out of wml data in lua (loaded with H.get_variable_array) end up being userdata rather than lua strings, or how to get them back to plain old strings so I can do something with them? Even if i concatenate them onto other strings, the result still ends up userdata, and then trying to pass them to string functions explodes. 20160826 09:47:01< Soliton> presumably because they're translatable strings. 20160826 09:49:39< DeFender1031> What does that mean? 20160826 09:49:48 * zookeeper doesn't know 20160826 09:50:17< DeFender1031> It seems (when printed anyway) as though they're returning the post-translation string. 20160826 09:50:26< Soliton> that they're not plain strings. 20160826 09:50:40< DeFender1031> Soliton, either way, is there some way to turn them into plain, post-translation strings? 20160826 09:51:10< Soliton> probably, i know nothing about lua though. 20160826 09:51:21< DeFender1031> blerg 20160826 09:54:10< DeFender1031> guess i'll have to wait for someone more fluent in lua 20160826 09:54:18< DeFender1031> or rather, in wesnoth lua 20160826 09:59:44< vultraz> DeFender1031: around? 20160826 09:59:52< DeFender1031> vultraz, hi 20160826 10:00:28< vultraz> what you have come across is a really big flaw in gui2 20160826 10:00:40< vultraz> there isn't really a solution 20160826 10:00:44< vultraz> especially not from lua 20160826 10:00:47< DeFender1031> :/ 20160826 10:01:05< vultraz> in c++ there is a way to trigger a recalculation of sizes, but we don't really use it 20160826 10:01:07< vultraz> however 20160826 10:01:11< vultraz> there are workarounds 20160826 10:01:21< vultraz> for images, we usually scale them to a specific size. 20160826 10:01:35< DeFender1031> is there a way to force a label or image to take up the full height and width of something even if it's not that size? 20160826 10:01:40< vultraz> or use a widget like a multipage where it's guaranteed space. 20160826 10:01:46< vultraz> DeFender1031: yes 20160826 10:01:52< vultraz> in the column with the image or label 20160826 10:02:03< vultraz> add horizontal_grow = true and vertical_grow = true 20160826 10:02:06< vultraz> as appropriate 20160826 10:02:07< DeFender1031> what do you mean by "a multipage where it's guaranteed space"? 20160826 10:02:13< DeFender1031> ah 20160826 10:02:18< DeFender1031> well that will help somewhat 20160826 10:02:25< vultraz> alternative, for labels 20160826 10:02:28< vultraz> use a scroll label 20160826 10:02:38< vultraz> this will give you a scrollbar if the label overflows 20160826 10:03:04< vultraz> this should optimally be used with the above h/v_grow keys to ensure maximum space is always reserved 20160826 10:03:23< vultraz> the logic behind this is that if a widget is not told to grow in size, it will only take up as much space is needed 20160826 10:03:33< vultraz> and if you need to change it, that may not be enough 20160826 10:03:39< vultraz> take a two-column dialog 20160826 10:03:42< vultraz> each has a label 20160826 10:03:46< vultraz> one line 20160826 10:03:55< vultraz> the dialog has space for 10 lines 20160826 10:04:18< DeFender1031> right, i got that 20160826 10:04:24< vultraz> however, if you have not set vertical_grow = true in each column, the label widget inside the column will only take up the space for 1 line 20160826 10:04:29< vultraz> and the other 9 will be truncated 20160826 10:04:30< DeFender1031> right 20160826 10:04:38< vultraz> hope it helps 20160826 10:04:51< DeFender1031> and what did you mean about the miltipage? 20160826 10:04:55< vultraz> now, a multipage widget is a stack of 'pages', each with the same layout but different contents 20160826 10:05:06< DeFender1031> ah 20160826 10:05:22< vultraz> each page is calculated at runtime, meaning each page always has enough space, and the widget has enough space for the biggest page 20160826 10:05:30< DeFender1031> ooh 20160826 10:05:38< DeFender1031> that'll solve the problem completely, no? 20160826 10:05:51< vultraz> depends on your usecase 20160826 10:06:17< vultraz> if you want something like the campaign selection dialog, where you show details for items in a list, then yes, that would work 20160826 10:07:25< DeFender1031> this is a recreation of a unit list view (like the recall list) with a recreation of the unit preview pane, so yeah, that should work here 20160826 10:08:44< DeFender1031> thanks, i think this answers my current questions about GUI. vultraz, any hel on the question about strings? 20160826 10:09:18< vultraz> you want the .__cfg field, I think 20160826 10:09:57< vultraz> helper.get_variable_array().__cfg, perhaps 20160826 10:09:59< vultraz> dunno if that works 20160826 10:10:49< DeFender1031> vultraz, nope, tells me it got nil 20160826 10:11:28< vultraz> hm 20160826 10:12:38< vultraz> not sure 20160826 10:16:30< Naglfar> sometimes wesnoth begins too much cpu & memory usage, there's some tweaks can I use to compile it as lighter as possible ? 20160826 10:30:12< Soliton> remove add-ons. 20160826 10:34:02< Naglfar> ok 20160826 10:52:11-!- Kwandulin [~Miranda@p200300760F6F2FEC219AD9F53B09C16D.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160826 11:04:28-!- Harzilein [harzi@harzilein.eu.org] has joined #wesnoth 20160826 11:04:29< Harzilein> hi 20160826 11:04:48< Harzilein> uhm, i just looked at this: https://play.google.com/store/apps/details?id=com.nomadgames.talisman&hl=en 20160826 11:05:05< Harzilein> mysteriously familiar music? 20160826 11:07:33-!- TheJJ [~rofl@ipbcc36896.dynamic.kabel-deutschland.de] has quit [Ping timeout: 240 seconds] 20160826 11:08:29< Harzilein> ah, right, seems i'm three years late 20160826 11:08:44-!- TheJJ [~rofl@ipbcc36896.dynamic.kabel-deutschland.de] has joined #wesnoth 20160826 11:13:41-!- TheJJ [~rofl@ipbcc36896.dynamic.kabel-deutschland.de] has quit [Ping timeout: 244 seconds] 20160826 11:14:39-!- TheJJ [~rofl@ipbcc36896.dynamic.kabel-deutschland.de] has joined #wesnoth 20160826 11:32:37-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth 20160826 11:46:57-!- Kwandulin [~Miranda@p200300760F6F2FEC5469FAB7AF64FDB7.dip0.t-ipconnect.de] has joined #wesnoth 20160826 11:49:20-!- wario [~wario_@unaffiliated/wario] has joined #wesnoth 20160826 12:23:17-!- Shiki [~Shiki@141.57.58.245] has joined #wesnoth 20160826 12:25:08-!- VultCave [~chatzilla@124.109.10.167] has joined #wesnoth 20160826 12:25:59-!- vultraz [~chatzilla@wesnoth/developer/vultraz] has quit [Read error: Connection reset by peer] 20160826 12:26:10-!- VultCave is now known as vultraz 20160826 12:51:11-!- Shiki [~Shiki@141.57.58.245] has quit [Quit: Verlassend] 20160826 13:00:46-!- wario [~wario_@unaffiliated/wario] has quit [Quit: Leaving] 20160826 13:01:20-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has joined #wesnoth 20160826 13:10:04-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth 20160826 13:15:06-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has joined #wesnoth 20160826 13:18:16-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria] 20160826 13:23:16-!- Shiki [~Shiki@141.57.58.245] has joined #wesnoth 20160826 13:24:10-!- shurnormal [~uxio@unaffiliated/ushiu] has joined #wesnoth 20160826 13:28:37-!- Kwandulin [~Miranda@p200300760F6F2FEC5469FAB7AF64FDB7.dip0.t-ipconnect.de] has quit [Quit: Kwandulin] 20160826 14:09:02-!- wario [~wario_@unaffiliated/wario] has joined #wesnoth 20160826 14:16:35-!- hk238 [~kvirc@unaffiliated/hk238] has joined #wesnoth 20160826 14:34:51-!- mic_e_ [~quassel@ipbcc36896.dynamic.kabel-deutschland.de] has quit [Quit: No Ping reply in 180 seconds.] 20160826 14:36:09-!- mic_e [~quassel@ipbcc36896.dynamic.kabel-deutschland.de] has joined #wesnoth 20160826 14:47:07-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has quit [Quit: They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.] 20160826 14:49:46-!- Kwandulin [~Miranda@p200300760F6F2FEC6899A4A98FD44423.dip0.t-ipconnect.de] has joined #wesnoth 20160826 14:55:41-!- dobson [~dobson@68.ip-149-56-14.net] has quit [Quit: Leaving] 20160826 14:55:57-!- wario [~wario_@unaffiliated/wario] has quit [Quit: Leaving] 20160826 15:01:31-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: mattsc] 20160826 15:05:01-!- dobson [~dobson@68.ip-149-56-14.net] has joined #wesnoth 20160826 15:05:16-!- DMG-WR0K [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160826 15:12:44-!- Shiki [~Shiki@141.57.58.245] has quit [Ping timeout: 244 seconds] 20160826 15:24:01-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth 20160826 15:55:48-!- Shiki [~Shiki@141.57.58.245] has joined #wesnoth 20160826 16:03:25-!- DeFender1031 [~DeFender1@46-116-114-128.bb.netvision.net.il] has quit [Quit: I'm not back now.] 20160826 16:11:18-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20160826 16:13:02-!- Kwandulin [~Miranda@p200300760F6F2FEC6899A4A98FD44423.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160826 16:18:31-!- Lirion [~m00se@wikimedia-commons/Lirion] has quit [Quit: echo 16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlb xq |dc] 20160826 16:18:58-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has joined #wesnoth 20160826 16:18:58-!- Shiki [~Shiki@141.57.58.245] has quit [Quit: Verlassend] 20160826 16:36:04-!- cyphase [~cyphase@unaffiliated/cyphase] has quit [Ping timeout: 244 seconds] 20160826 16:41:27-!- cyphase [~cyphase@unaffiliated/cyphase] has joined #wesnoth 20160826 16:48:19-!- Appleman1234 [~Appleman1@KD036012030198.au-net.ne.jp] has quit [Ping timeout: 244 seconds] 20160826 17:09:42-!- DMG-LP [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has joined #wesnoth 20160826 17:10:33-!- Kwandulin [~Miranda@p200300760F6F2FECB14B9DF3D1BF7A9C.dip0.t-ipconnect.de] has joined #wesnoth 20160826 17:14:27-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has joined #wesnoth 20160826 17:24:22-!- zachquest [~zachquest@162.216.46.86] has joined #wesnoth 20160826 17:30:15-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has quit [Remote host closed the connection] 20160826 17:31:09-!- celticminstrel [~celmin@unaffiliated/celticminstrel] has joined #wesnoth 20160826 17:42:32-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has quit [Quit: End Transmission.] 20160826 17:48:53-!- hk238 [~kvirc@unaffiliated/hk238] has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria] 20160826 17:50:36-!- wario [~wario_@unaffiliated/wario] has joined #wesnoth 20160826 17:52:09-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has joined #wesnoth 20160826 18:31:32-!- zachquest [~zachquest@162.216.46.86] has quit [Ping timeout: 240 seconds] 20160826 19:51:01-!- ChipmunkV [~vova@static-89-94-113-91.axione.abo.bbox.fr] has quit [Ping timeout: 252 seconds] 20160826 19:55:09-!- ToBeCloud [uid51591@wikimedia/ToBeFree] has quit [Quit: Connection closed for inactivity] 20160826 19:59:08-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has quit [Ping timeout: 244 seconds] 20160826 20:04:25-!- Narrat [~Narrat@p5B15DCFC.dip0.t-ipconnect.de] has joined #wesnoth 20160826 20:12:00-!- Shiki [~Shiki@141.39.226.227] has joined #wesnoth 20160826 20:33:28-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has joined #wesnoth 20160826 20:55:59-!- celmin [~celticmin@unaffiliated/celticminstrel] has joined #wesnoth 20160826 21:35:04-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has quit [Ping timeout: 244 seconds] 20160826 21:37:26-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160826 21:38:55-!- mattsc [~mattsc@wesnoth/developer/mattsc] has quit [Quit: So long and thanks for all the fish.] 20160826 21:39:53-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has joined #wesnoth 20160826 21:52:23-!- can-ned_food [~me@pool-71-253-116-81.eriepa.dsl-w.verizon.net] has joined #wesnoth 20160826 21:59:15-!- Kwandulin [~Miranda@p200300760F6F2FECB14B9DF3D1BF7A9C.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 20160826 22:13:33-!- tokage [~tokage@unaffiliated/tokage] has quit [Quit: tokage] 20160826 22:13:53-!- egakot_ [~tokage@unaffiliated/tokage] has joined #wesnoth 20160826 22:13:59-!- egakot_ is now known as tokage 20160826 22:15:15-!- DMG-WR0K [~damage@pool-108-29-130-218.nycmny.fios.verizon.net] has quit [Quit: gone.] 20160826 23:00:50-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has joined #wesnoth 20160826 23:17:34-!- RatArmy [~RatArmy@om126229092047.12.openmobile.ne.jp] has quit [Ping timeout: 255 seconds] 20160826 23:24:05-!- mattsc [~mattsc@wesnoth/developer/mattsc] has joined #wesnoth 20160826 23:32:44-!- Shiki [~Shiki@141.39.226.227] has quit [Quit: Verlassend] 20160826 23:38:02-!- Lohengramm [sid1929@gateway/web/irccloud.com/x-gktygytvpdchahen] has quit [Ping timeout: 244 seconds] 20160826 23:40:03-!- ancestral [~ancestral@67-4-224-82.mpls.qwest.net] has quit [Quit: i go nstuf kthxbai] 20160826 23:40:29-!- Lohengramm [sid1929@gateway/web/irccloud.com/x-fndpcoyxtcbslavt] has joined #wesnoth 20160826 23:41:09-!- wario [~wario_@unaffiliated/wario] has quit [Quit: Leaving] 20160826 23:41:43-!- can-ned_food [~me@pool-71-253-116-81.eriepa.dsl-w.verizon.net] has quit [Quit: Konversation terminated!] 20160826 23:43:41-!- zookeeper [~lmsnie@wesnoth/developer/zookeeper] has quit [Ping timeout: 250 seconds] --- Log closed Sat Aug 27 00:00:49 2016