maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Flatpak on Sailfish OS (https://talk.maemo.org/showthread.php?t=100909)

Nekron 2020-04-14 13:54

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1566740)
@Nekron: I checked the loaded libs and they seem to be the same for Flatpak and SFOS native. So, can't tell on the basis of that and its not why Xperia X is slower than XA2

try to run

flatpak-runner org.kde.mobile.angelfish chrome://gpu

(until corresponding issue is fixed, have to start new angelfish for it). I have HW accelerated canvas, flash and few others (not all). compare X and XA2 and see if there is some major difference.

Seems like H/W accelleration is enabled on both devices. However playing around with settings I found out that sometimes scale and DPI combinations might pretend that it's scrolling faster. Maybe scaling needs more CPU power to magnify canvas and hence the lag. Other than that I re-enabled GPU compositing (which is turned off by default flatpak-runner) and gfx glitches are not too bad, but brings a slighty faster scrolling.

Talking about settings. It there a reason why home permission must be granted to Angelfish? I removed it with

Code:

flatpak override --user --nofilesystem=home
and as far as I can see it still works well for me as I don't need to upload files from my home directory (but having private keys and other stuff protected from sandboxed browser is a major security win compared to stock browser :)).

rinigus 2020-04-14 18:37

Re: Flatpak on Sailfish OS
 
Flatpak Runner with Finnish is now released as well (only change in updated version).

Re GPU composing: glitches on my phone were some, not too many. But I preferred to release without them.

Re scaling/DPI: there seem to be some kind of cut-off DPI setting at which you have a feeling that WebEngine is going `ooh, its so high, we better blow up all the characters!!!` mode. So, its quite possible that there are some sweet spots in its settings.

Re home folder: its for downloads as well, those go to ~/Downloads. But feel free to disable.

defactofactotum 2020-04-15 09:15

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by coderus (Post 1566835)
i think it's better to make proper UI changes ;)

Hi rinigus and coderus, I think the app UI is fine. Maybe it would help to change the readme. Because it presents the 'variable' as one block of text non-cognoscenti like me will just copy it. Suggest: add environment variable: name = QT_QPA_PLATFORM with value = wayland.
Thanks a lot for your work.

inte 2020-04-15 16:38

Re: Flatpak on Sailfish OS
 
First of all: Great work. Thank you very much. It's the first time I can use my Gemini to surf the web using angelfish:-)
However: I have a mayor issue. I own a German Gemini with German keyboard layout and I have yet to figure out how to change the keyset of the Gemini hardware keyboard to German layout?
While genuine SfOS-Apps work with the German layout, the device switches to English layout in angelfish.
Thank you very much!

rinigus 2020-04-15 16:50

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by inte (Post 1566852)
First of all: Great work. Thank you very much. It's the first time I can use my Gemini to surf the web using angelfish:-)
However: I have a mayor issue. I own a German Gemini with German keyboard layout and I have yet to figure out how to change the keyset of the Gemini hardware keyboard to German layout?
While genuine SfOS-Apps work with the German layout, the device switches to English layout in angelfish.
Thank you very much!

Interesting. Does it go for onscreen or physical keyboard? Or both? Is physical keyboard set somehow specially in the system? Don't know much about physical keyboards and Maliit interaction, I probably missed something in its server/client interaction.

@defactofactotum: telegram section updated accordingly. Let's see if these errors will stop now.

inte 2020-04-15 17:25

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by rinigus (Post 1566854)
Interesting. Does it go for onscreen or physical keyboard? Or both? Is physical keyboard set somehow specially in the system? Don't know much about physical keyboards and Maliit interaction, I probably missed something in its server/client interaction.

The physical keyboard.
The onscreen keyboard doesn't show up at all.

inte 2020-04-15 17:41

Re: Flatpak on Sailfish OS
 
Without having read the entire thread:
I guess cut'n paste between sfos and linux-apps not working is a known issue, or is that Gemini specific since it uses key-combinations (ctrl-x/ctrl-v)?
Are there any useable apps for sailfish devices other than angelfish at all?
I tried kontact which has missing dependencies (e.g. akonadi and mysql) and konversation, which doesn't recognize any input.
Thanks

Caluna 2020-04-15 19:56

Re: Flatpak on Sailfish OS
 
Hi,
I cannot install Angelfish:

Quote:

Error: While trying to checkout cca5fd2e8ba48ec0c76c7b98c77da58d158db8b821c2a1b22b 845f06e9d15bae into /home/nemo/.local/share/flatpak/runtime/org.kde.Platform/arm/5.14/.cca5fd2e8ba48ec0c76c7b98c77da58d158db8b821c2a1b22 b845f06e9d15bae-34SAJ0: Opening content object 13eb2432a9c8fa4932db13609b474f52056c228d39154dd149 01601a4debc69a: Couldn't find file object '13eb2432a9c8fa4932db13609b474f52056c228d39154dd14 901601a4debc69a'
error: Failed to install org.kde.Platform: While trying to checkout cca5fd2e8ba48ec0c76c7b98c77da58d158db8b821c2a1b22b 845f06e9d15bae into /home/nemo/.local/share/flatpak/runtime/org.kde.Platform/arm/5.14/.cca5fd2e8ba48ec0c76c7b98c77da58d158db8b821c2a1b22 b845f06e9d15bae-34SAJ0: Opening content object 13eb2432a9c8fa4932db13609b474f52056c228d39154dd149 01601a4debc69a: Couldn't find file object '13eb2432a9c8fa4932db13609b474f52056c228d39154dd14 901601a4debc69a'
Any ideas?

atlochowski 2020-04-15 21:13

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by Caluna (Post 1566859)
Hi,
I cannot install Angelfish:


Any ideas?

HTML Code:

flatpak --user repair

Caluna 2020-04-16 05:52

Re: Flatpak on Sailfish OS
 
Quote:

Originally Posted by atlochowski (Post 1566864)
HTML Code:

flatpak --user repair

That worked. Thank you!


All times are GMT. The time now is 18:54.

vBulletin® Version 3.8.8