We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

How to make the launcher transparent? [answered]

asked 2015-12-09 16:44:52 +0200

updated 2015-12-09 19:44:43 +0200

I added opacity: 0.5 to the Rectangle {} inLauncherView.qml at /usr/share/lipstick-jolla-home-qt5/launcher/, however the launcher is only transparent while opening or closing. When I let my finger off the launcher the background becomes black again. What's wrong here? :)

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by jollailija
close date 2015-12-09 20:02:42.904062

1 Answer

Sort by » oldest newest most voted
4

answered 2015-12-09 16:55:43 +0200

velox gravatar image

I believe coderus has solved this in his patch, take a look: https://github.com/CODeRUS/sailfishos-launcher-combined-patch

edit flag offensive delete publish link more

Comments

1

Thanks, found it! It was the very last line of the patch. For future reference: you need to add line opacity: false to /usr/share/lipstick-jolla-home-qt5/layers/LauncherLayer.qml

jollailija ( 2015-12-09 20:02:16 +0200 )edit

There is already a statement opaque: false in this file. Is it ineffective?

objectifnul ( 2015-12-09 21:32:07 +0200 )edit
1

@jollailija I think opacity should be set to a float like 0.0, not false. false works, though, because it gets recast to 0.0 while interpreting.

velox ( 2015-12-09 22:42:12 +0200 )edit

@objectifnul@velox My bad, I meant opaquenot opacity. I don't know what happens if you add opacity: false to the file, but opaque: false does the trick. I blame this on my tiny amount of sleep.

jollailija ( 2015-12-10 07:58:43 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2015-12-09 16:44:52 +0200

Seen: 599 times

Last updated: Dec 09 '15