/srv/irclogs.ubuntu.com/2015/04/29/#ubuntu-unity.txt

=== Malsasa_ is now known as Malsasa
=== Malsasa is now known as Guest71156
=== Malsasa_ is now known as Malsasa
=== anpok_ is now known as anpok
=== JMulholland_ is now known as JMulholland
tsdgeosmzanetti: any idea what this is? https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/132914109:14
ubot5Ubuntu bug 1329141 in unity8 (Ubuntu) "Two underscores in .desktop file name causes assumption that this is an appId and app is rejected." [Undecided,New]09:14
tsdgeosit's still New on our side09:14
tsdgeosand marked as lt-blocker09:14
mzanettilooking09:15
=== alan_g is now known as alan_g|lunch
=== MacSlow is now known as MacSlow|lunch
dandradermzanetti, do you know what's Qt's definition of "physical pixel" and "device-independend pixel"?12:38
mzanettidandrader, not sure I get the question12:39
mzanettidevice-independent pixel = physical pixel * QT_DEVICE_PIXEL_RATIO12:39
dandradermzanetti, the actual pixels in a bitmap hold by a QImage, are they physical pixels or device-independent pixels?12:40
mzanettidevice-independent. however, if you don't export QT_DEVICE_PIXEL_RATIO it'll be the same12:40
mzanettion Mir we'll also use GRID_UNIT_PX to modify the value12:40
greybackdandrader: you've seen http://doc.qt.io/qt-5/highdpi.html ?12:41
dandradermzanetti, so it doesn't match this definition: https://en.wikipedia.org/wiki/Device_independent_pixel12:41
dandradergreyback, no12:41
greybackdandrader: no it doesn't, Qt's interpretation doesn't relate to any physical measurement12:41
=== MacSlow|lunch is now known as MacSlow
greybackdandrader: it's really just a scaling factor for the UI12:42
mzanettiwell, the distribution/device manufacturer needs to relate it to a physical measurement by exporting the correct QT_DEVICE_PIXEL_RATIO var12:42
mzanettiwhich are aren't :D12:42
greybackexactly12:43
mzanettigiven that the physical measurement differs quite a lot between our devices12:43
greybackwe're not guaranteeing that 1GU is 0.5cm or anything like that12:43
mzanettiI think we wanted to... but then we decided to change it to be display width / 4012:43
dandrader"3840x2160 pixels, resulting in a logical resolution of 192 DPI, whereas older monitors have around 1920x1080 pixels at 96 DPI." <- how can it tell de DPI without know how big (in mm) the display is?12:43
dandradermaybe I should check the definition of "logical resolution" ....12:44
mzanettiyou can't but not sure if you even should12:44
greybackdandrader: don't get too bogged down in the terminology, I think it's all a bit messy/inconsistent. We're not reviewing Qt's decision here12:45
mzanettidandrader, when it comes to unity, you should probably just use grid units and that's it12:46
=== alan_g|lunch is now known as alan_g
dandradermzanetti, didn't Saviq come up with a solution for this "can't merge new features while vivid is frozen" issue?13:06
Saviqdandrader, we did, and then they froze the solution, too ;)13:06
dandrader:D13:06
mzanettidandrader, I added a branch that "fixes" the dialer13:07
dandradermzanetti, I saw that and even filled in its description13:07
mzanettiright... had to run to a meeting13:08
seb128does anyone know what component/sourcecode has the "message" button from the messaging menu?13:31
seb128unping13:32
seb128just found it13:32
dandradergreyback, how do you test the DPR stuff?13:54
greybackdandrader: for the qtubuntu stuff, I use mir_proving_server13:54
greybackI usually try a simple enough qml file13:56
greybackand maybe a qt demo or two13:56
greybacknote that QT_DEVICE_PIXEL_RATIO also works on X11, so you can try those same demos on your desktop and compare13:57
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
dandradergreyback, who uses this DBus window stack from qtmir?15:24
tsdgeoshud did15:24
tsdgeosi guess noone does now15:24
greybackdandrader: hud isn't dead, this it still available15:25
tsdgeosit's a long time zombie :D15:25
dandradergreyback, what do you mean by "available"? I can get it on the phone?15:25
tsdgeosbut i guess we should bring it back for the desktop15:25
tsdgeosat lesat15:25
greybackdandrader: it used to be still running (sdk apps used to need it for something), but I don't see it there any more. libhud2 is being installed still.15:27
dandradergreyback, it seems to belong to unity8, not qtmir, what do you think?15:27
greybackdandrader: probably15:28
greybackdandrader: depends on how we want the desktop to work. Would you like to export a dbus api to allow third party apps to manipulate windows? I'm tempted to15:28
dandradergreyback, I don't know. what's the use case?15:29
greybackdandrader: third party docks - like AWN or cairo dock15:30
greybackautopilot would be interested in that stuff too15:32
greybackas would anyone who uses xwininfo/xdotool15:32
greybackand using apparmor to police it15:33
greybackjust a proposition15:33
dandradergreyback, but it has the concept of focused window, which qtmir won't know about in the future. that's the biggest push for having it in unity815:34
greybackdandrader: qtmir has to know a bit about focus, to tell the client "your window is focused"15:35
dandradergreyback, it gets it from the QQuickItem API of MirSurfaceItem15:36
dandradergreyback, namely QQuickItem::activeFocus15:37
greybackdandrader: I know15:37
greybackso qtmir needs to know that. So qtmir can export that data via dbus15:37
greybackI've not decided if that dbus stuff should be in unity8 or not. Having it qtmir means any shell written using it will have the same dbus api15:38
greybackperhaps its own library15:38
dandraderok, will leave it alone then :)15:39
greybackfor now, please do :)15:39
greybacklet's discuss it at the sprint15:39
* greyback took a note15:40
=== Malsasa is now known as Guest99529
=== Malsasa_ is now known as Malsasa
=== dandrader is now known as dandrader|lunch
=== alan_g is now known as alan_g|EOD
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
mhall119tedg: still need that email when you get the chance20:44
sidiHow can you set breakpoints on Unity's code? I've built it, run it with advanced-debug, but gdb can't put breakpoints on fn names, seems to be attached to compiz.22:45
sidialso is there any way to access the Application behind a window? especially, from the DecoratedWindow object? or at least the app's PID without having to go through xdotools?22:48

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