/srv/irclogs.ubuntu.com/2019/06/10/#ubuntu-desktop.txt

marcustomlinsonmorning07:01
dufluMorning marcustomlinson07:02
=== pstolowski|afk is now known as pstolowski
marcustomlinsonduflu: hey, how are you?07:03
duflumarcustomlinson, going well. You?07:03
marcustomlinsonpretty good today thanks :)07:03
marcustomlinsonrelaxing weekend07:03
willcookemorning all07:48
dufluMorning willcooke07:51
dufluI suspect "all" is few07:52
marcustomlinsonmorning willcooke07:53
willcookehi duflu marcustomlinson07:56
willcookeyeah, lots of public hols today07:56
Trevinhomorning from Italy!07:57
willcookeHi Trevinho, not on holiday today as well?07:58
dufluHi Trevinho. Thanks for landing things... some of it was past a year old :/07:59
dufluAs luck would have it I was thinking about those last night. I must have sensed you08:01
Laneyyo08:01
dufluHi Laney08:01
marcustomlinsonhey Trevinho and Laney08:02
Trevinhowillcooke: no, no... in-da-house08:03
Trevinhoduflu: np08:03
Trevinhoand hi duflu, marcustomlinson and Laney08:03
Laneyo m g08:04
Laneymoin duflu marcustomlinson Trevinho08:04
dufluTrevinho, do the other residents remember you?08:05
duflu:)08:05
Trevinhoduflu: no, we did presentations before xD08:07
LaneyTrevinho: what's the next travel plan?08:21
GunnarHjGood morning, Laney! Time to talk about https://code.launchpad.net/~gunnarhj/ubuntu/+source/gnome-settings-daemon/+git/gnome-settings-daemon/+merge/368409 ? As a first step I'd like to know if the approach is reasonable.08:26
TrevinhoLaney: calm a bit... then Sardinia and some more southern italy. As I've to show the best to Dayana :-)08:29
Laney:>08:30
LaneyGunnarHj: what is initial setup doing when it runs?08:32
Laneyisn't it putting things in KEY_INPUT_SOURCES ?08:32
GunnarHjLaney: Not on Ubuntu, AFAIK.08:33
GunnarHjLaney: And it doesn't run when you "Try Ubuntu".08:33
LaneyI'm thinking that it looks weird to test for how something was done rather than what it did08:34
Laneyand the previous code looks (to me) like it did the latter08:34
GunnarHjLaney: The idea is to make sure that the function runs 1. when you "Try Ubuntu" and 2. at first login. The file in ~/.config comes in hande to achieve that.08:35
GunnarHjs/hande/handy08:36
Laneyso what you're doing is running that add_ibus thing even when there are some input sources already defined08:37
Laneyon the first login and the live session08:37
GunnarHjLaney: Yes.08:37
Laneydo we know what it's set up with and in what way it's not sufficient?08:38
Laneyhow is that set up? casper/08:38
Laney?08:38
GunnarHjLaney: I don't much about the code involved in the installer. One weird thing is that it behaves differently if you launch "Try Ubuntu" from the Ubiquity welcome screen compared to when you "Try Ubuntu before installing" from the isolinux menu. The bug is only present for the former case.08:40
GunnarHjLaney: But keyboard configuration in general is a can of worms. My hope is that we can make this attempt to at least make sure that an IBus method is present for Chinese, Japanese, etc. live sessions.08:43
LaneyGunnarHj: What do you think about checking if it's maybe_convert_old_settings() grabbing it from somewhere? I can see references to the (old?) org.gnome.libgnomekbd.keyboard schema in casper and ubiquity, at least.08:48
LaneyI'd be happier if we knew why it was getting set up wrongly, and ideally if we could fix that place directly08:48
LaneyI guess it'd be possible to add some debugging into that function to see what it's doing08:49
GunnarHjLaney: One question is what's the most right or wrong way wrt the XKB layouts. But isn't answering that question beyond the scope of the bug, which is only about a missing IBus method?08:52
LaneyI'm trying to identify why the existing call to add_ibus_sources_from_locale() isn't happening - presumably because the 'old' settings are being set up08:53
LaneyIf that's true, then it might be the right fix to have maybe_convert_old_settings() call add_ibus_sources_from_locale()08:53
Laneymaybe_convert_old_settings() makes a stamp file so it only runs one time08:55
GunnarHjLaney: But why would maybe_convert_old_settings() run when you "Try Ubuntu" from the Welcome screen but not from the isolunux menu?08:57
LaneyI can guess08:58
LaneyThe "Try Ubuntu" screen runs a desktop environment to show you the GUI08:58
Laneyas part of that it starts up a few g-s-d bits08:58
LaneyGuess is that this causes the stamp file to be created (because it runs that function), and it's not run a second time when you click "Try Ubuntu" to start GNOME Shell08:58
Laneysecond guess would be that something actually does directly set up the input sources08:59
GunnarHjLaney: My hope was to avoid to dig too deep into this. :)09:00
GunnarHjLaney: Especially since I don't know how you test things involving the installer.09:01
LaneyTry moving add_ibus_sources_from_locale() into maybe_convert_old_settings() and see what happens09:02
Laneyoh, how did you test this then?09:02
GunnarHjLaney: I have tested on an existing install, and kind of simulating first Chinese/Japanese logins. But that kind of test could well be done if I move the call into maybe_convert_old_settings().09:04
* Laney nods09:04
LaneyMake sure it goes towards the end of the function, so all the other bits get run too and it respects the stamp file09:05
GunnarHjLaney: Ok. Didn't notice the stamp file before. Will probably do so now.09:05
Laney👍09:07
* Laney needs to go back to juju land for a bit now09:08
GunnarHjLaney: Thanks for input!09:08
=== pstolowski is now known as pstolowski|afk
willcookenight all17:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!