/srv/irclogs.ubuntu.com/2017/03/13/#ubuntu-app-devel.txt

kalikiana_zsombi: review? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/realLayoutDirectionChange/+merge/31835908:54
zsombikalikiana_: sure08:54
kalikiana_zsombi: Also https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/ellipticSubTitles/+merge/318390 has been sitting a while08:55
zsombikalikiana_: I had once a fix for the Mainview not dispatching the layout direction change properly, prehaps we should reload that work again...08:55
kalikiana_zsombi: The problem here first of all is that the gallery is cheating by not actually changing it. I suspect there's buglets that will surface only now. daker is the one who actually triaged several RTL/ direction-related issues more recently08:59
zsombik08:59
kalikiana_zsombi: Do you have any pointers to the dispatching issue? Old code, bug or a piece of code?09:00
zsombikalikiana_: should be on the staging, in between some working branch, having some words about MainView rtl crap :D09:00
zsombiit was long ago09:00
kalikiana_zsombi: So it was committed?09:01
zsombinot completed afair09:01
kalikiana_Hmmm09:02
zsombikalikiana_: https://code.launchpad.net/~zsombi/ubuntu-ui-toolkit/mainview-rtl/+merge/25142009:03
zsombiI even made an MR, but we got redirected to some other things09:03
kalikiana_zsombi: Ah, thanks, I remember we were talking about that. So that may still be needed to get the right out of the box behavior09:07
zsombiyep09:08
kalikiana_I'll provide an updated MR for it (that branch even predates our version split, so weird to look at it now :-D)09:10
zsombikalikiana_: I know :)09:11
zsombiit was abandoned, and never had time to return to it09:11
kalikiana_zsombi: It seems we have LayoutMirroring settings in several components in staging, but not in the MainView... I'm wondering if there was a reason not to do it in MainView for everything09:49
=== JanC is now known as Guest42627
=== JanC_ is now known as JanC
kalikiana_zsombi: daker: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/rtlBackButtonIconName/+merge/31966810:03
kalikiana_Also: https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/layoutMirroringEnabledInMainView/+merge/31966910:06
=== chihchun is now known as chihchun_afk
dakerzsombi: does your last MR fixes bug 1667165 too ?10:56
ubot5bug 1667165 in ubuntu-ui-toolkit (Ubuntu) "APL gets incorrectly layouted in RTL" [Undecided,New] https://launchpad.net/bugs/166716510:56
dakersorry it's for you kalikiana_10:56
kalikiana_daker: It's related but not the same. So, right now apps have to enable RTL, like the gallery does, to get full layout mirroring out of the box - the MR changes that. Although, as said above, I am wondering if there was any reason to do it on a per-component basis...11:50
dakerkalikiana_: i see, i am not sure about the second part :D11:55
blussis there a thumbnailer I can call from Python to get or generate thumbs for example for PDFs17:31
dakerkalikiana_, zsombi i want try to write some components using QCC2 but there are some packages not available in 16.04, not sure how to deal with that17:43
kalikiana_daker: That's work in progress. The new qtbase is now building in the silo, and qtdeclarative/quickcontrols2 are coming soon17:45
kalikiana_There were some issues with the build configuration17:45
dakerkalikiana_: ok17:46
kalikiana_daker: For now you can have a go in a Zesty lxd container if you want. Otherwise you'll have to wait a couple weeks or so17:46
kalikiana_(Maybe longer, it depends if there's more build issues or if what was done in qtbase is enough)17:46
dakerkalikiana_: i can use the lxd container, but i am not sure how to launch it...17:47
dakernot sure how to tell lxd to use my X server as a display17:49
zsombi[11:49:04] <kalikiana_> zsombi: It seems we have LayoutMirroring settings in several components in staging, but not in the MainView... I'm wondering if there was a reason not to do it in MainView for everything19:43
zsombithere was no reason19:43
zsombimy IRC client died... and I did not notice it...19:43
zsombidaker: what components do you want to write?19:44
kalikiana_zsombi: Hmm okay. Well, my MR is there, moving the code to the MainView was simple enough. One thing occurs to me after I prepared it, if those components are used outside a MainView, including a MainWindow, this wouldn't suffice... so maybe we actually want to retain the default in all of those respective components19:56
kalikiana_Or rephrased more simply: MainView and MainWindow should probably have the LayoutDirection in addition to individual components, not instead of19:57
zsombikalikiana_: the fun is that it's an attached property after all...19:58
kalikiana_Not sure how that's related19:59
zsombikalikiana_: well, every component's layotu can be driven through the attached props, it's only that we need to react and take them into account properly20:02
kalikiana_zsombi: I don't see what that has to do with anything. I'm concerned where we need to enable the defaults. It would be the same if it was a regular property20:03
dakerzsombi: i don't know maybe start with a simple one :)20:04
zsombikalikiana_: right... I was just thinking loud :)20:04
zsombithe feature I added to MainViewBase was defaulted to local's layout direction20:04
kalikiana_Right20:05
zsombikalikiana_: so something like that needs to be set, and perhaps we shoudl add that to be automatically set for all components...20:05
kalikiana_zsombi: I feel we'd want want that to apply to any component... it seems odd to me that it's not the default for Item to be honest20:07
zsombikalikiana_: I do get that why20:07
zsombifor instance you want to give the possibility to the component implementation to drive when they take the layout direction into use, so you don;t default anything on those20:08
zsombithe layout direction handling is after all implemented in the Item, the LayoutDirection attached object si just an interface to drive that20:09
kalikiana_zsombi: Maybe then it should only be added to AdaptivePageLayout and nowhere else20:22
kalikiana_Since MainView (or MainWindow) has no use for it20:23

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