Lipstick questions

Hi, I recently got my hands on the new Jolla Phone and I am very happy with it. Now it is time to do some programming for it. I want to port my Rust non-Qt app to Sailfish. And I have a couple of questions. I hope there are people here who can answer them.

  1. Are official Qt apps using internal scaling? xdg_shell seems to return scailing as 1.0, while android(AppSupport) returns 2.375
  2. How does compositor decide when app is fullscreen? My app is getting instantly resized from 1032x2272(fullscreen) to 1032x2186(camera cutout + small black bar at the bottom) at startup no matter what I try.
  3. Is there a way to trigger the keyboard? dbus?
  4. How do covers work? It is just another surface/window? Can I in theory use it without Qt?

Other than those it works perfectly, even managed to get GPS location working

7 Likes
  1. From what I can see it is using scaling of 1.0. And all Silica Theme values are made with that in mind. Also it might be internaly scaling those values using dconf /desktop/sailfish/silica/theme_pixel_ratio value