Bug 404785 - Latte-Dock master: Cannot read property 'visibility' of null
Summary: Latte-Dock master: Cannot read property 'visibility' of null
Status: RESOLVED WORKSFORME
Alias: None
Product: lattedock
Classification: Plasma
Component: containment (show other bugs)
Version: git (master)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-24 19:33 UTC by Nick Guletskii
Modified: 2019-02-28 19:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
CMake installation log (18.65 KB, text/plain)
2019-02-24 20:18 UTC, Nick Guletskii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Guletskii 2019-02-24 19:33:34 UTC
SUMMARY

Latte-Dock built from master (commit 4d9f0192c28d23c097e2c4a96bac599500029183) doesn't start.

STEPS TO REPRODUCE
1. Clone master.
2. Install Latte.
3. Launch Latte in debug mode.

OBSERVED RESULT

The dock doesn't open. Moving the cursor near the bottom of the screen results in the following error message in the console:

file:///usr/share/plasma/plasmoids/org.kde.latte.containment/contents/ui/main.qml:1156: TypeError: Cannot read property 'visibility' of null

EXPECTED RESULT

The dock shows up.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION
Tested both on fully updated KDE Neon and Fedora KDE spin installations with the same result.
Comment 1 Michail Vourlakos 2019-02-24 19:49:58 UTC
try the following:

latte-dock --default-layout
Comment 2 Nick Guletskii 2019-02-24 19:53:38 UTC
Unfortunately, it doesn't help.
Comment 3 Michail Vourlakos 2019-02-24 19:59:26 UTC
(In reply to Nick Guletskii from comment #2)
> Unfortunately, it doesn't help.

1.  Are you using latest master?

Try also:
1. Close Latte
2. Go to .config folder and remove any Latte related files, lattedockrc and latte folder
3. Retry latte-dock --default-layout

4. Does latte folder exist in .config folder?
5. are there any layout files in ~/.config/latte folder?
Comment 4 Nick Guletskii 2019-02-24 20:07:27 UTC
Pulled 4f9d41cec894521073d8609e0a82ead7f83b8515, removed all config files. Still the same error.
Comment 5 Michail Vourlakos 2019-02-24 20:13:08 UTC
show me your full install output
Comment 6 Nick Guletskii 2019-02-24 20:18:44 UTC
Created attachment 118343 [details]
CMake installation log
Comment 7 Michail Vourlakos 2019-02-24 20:20:28 UTC
(In reply to Nick Guletskii from comment #6)
> Created attachment 118343 [details]
> CMake installation log

I wont also the previous output:

1. please remove the build directory
2. install again and show me the full output
Comment 8 Michail Vourlakos 2019-02-24 20:54:25 UTC
and you can also send the output from latte-dock -d
Comment 9 Michail Vourlakos 2019-02-28 12:04:30 UTC
how is this going?
Comment 10 Nick Guletskii 2019-02-28 18:37:06 UTC
I installed a fresh KDE Neon git-unstable VM today, built Latte-Dock, and I can no longer reproduce this issue. Sorry for the delay!
Comment 11 Michail Vourlakos 2019-02-28 18:58:41 UTC
no prob...

If you can update your patch even better...
Comment 12 Nick Guletskii 2019-02-28 19:05:59 UTC
(In reply to Michail Vourlakos from comment #11)
> no prob...
> 
> If you can update your patch even better...

I may be able to find some time to update it on Saturday or Sunday, but no promises...
Comment 13 Michail Vourlakos 2019-02-28 19:06:50 UTC
(In reply to Nick Guletskii from comment #12)
> (In reply to Michail Vourlakos from comment #11)
> > no prob...
> > 
> > If you can update your patch even better...
> 
> I may be able to find some time to update it on Saturday or Sunday, but no
> promises...

no worries...