Ask / Submit

How to make the launcher transparent? [answered]

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

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

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

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

velox gravatar image

I believe coderus has solved this in his patch, take a look:

edit flag offensive delete publish link more



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 +0300 )edit

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

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

@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 +0300 )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 +0300 )edit

Question tools



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

Seen: 510 times

Last updated: Dec 09 '15