Bug 368891 - Right click desktop, configure desktop opens two windows
Summary: Right click desktop, configure desktop opens two windows
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-16 09:58 UTC by h261096
Modified: 2017-07-26 12:37 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Two windows (1.08 MB, image/png)
2016-09-16 09:59 UTC, h261096
Details
Monitor configuration (984.48 KB, image/png)
2016-09-16 10:00 UTC, h261096
Details

Note You need to log in before you can comment on or make changes to this bug.
Description h261096 2016-09-16 09:58:54 UTC
Right click desktop, configure desktop opens two windows
One titled "Folder View Settings - Plasma" and the other"Folder View Settings - Plasma <2>"

I have dual monitors, currently running  live CD. neon-devedition-gitstable-20160915-2025-amd64.iso

Reproducible: Always

Steps to Reproduce:
1.Run  neon-devedition-gitstable-20160915-2025-amd64.iso
2.Right click desktop, configure desktop

Actual Results:  
 opens two windows
One titled "Folder View Settings - Plasma" and the other"Folder View Settings - Plasma <2>"

Expected Results:  
Open one window only
Comment 1 h261096 2016-09-16 09:59:34 UTC
Created attachment 101115 [details]
Two windows
Comment 2 h261096 2016-09-16 10:00:42 UTC
Created attachment 101116 [details]
Monitor configuration

Right desktop changed to black by its own for some reason
Comment 3 Wolfgang Bauer 2016-09-22 18:56:18 UTC
I see this on a single-monitor system too (Plasma 5.7.95, KF5.26.0, Qt 5.7.0).

But only on a fresh user account.

Has been reported here as well:
https://bugzilla.opensuse.org/show_bug.cgi?id=1000510
Comment 4 Wolfgang Bauer 2016-09-22 18:58:55 UTC
PS: I get this black screen as well (also on a fresh user account only) on my single monitor, but it reappears when I click on the panel.

This has also been reported in openSUSE:
https://bugzilla.opensuse.org/show_bug.cgi?id=1000514

Not sure if it's related though.
Comment 5 Wolfgang Bauer 2016-09-22 19:06:54 UTC
(In reply to Wolfgang Bauer from comment #4)
> PS: I get this black screen as well (also on a fresh user account only) on
> my single monitor, but it reappears when I click on the panel.

Hm, now I got the black screen by just moving the window, and this time I cannot get the desktop back any more it seems.
Comment 6 Wolfgang Bauer 2016-09-22 19:08:21 UTC
(In reply to Wolfgang Bauer from comment #5)
> Hm, now I got the black screen by just moving the window, and this time I
> cannot get the desktop back any more it seems.

Choosing "Add Widgets" in the panel config brought it back this time...
Comment 7 Wolfgang Bauer 2016-09-22 19:14:22 UTC
And to clarify: I cannot reproduce either of both problems now on second login on this user account.

It only happened when first logged in after creating the user account, logging out and back in seems to make both problems disappear.
(I wasn't able to reproduce this on my existing user account either before)
Comment 8 Tony 2016-09-22 21:44:21 UTC
Similar.... Bug 367612
Comment 9 Wolfgang Bauer 2016-09-22 22:59:51 UTC
Regarding the reproduction:
it is enough to delete ~/.config/plasma-org.kde.plasma.desktop-appletsrc before logging in to trigger it.

Removing the whole ~/.config is not necessary, and removing ~/.cache/ makes no difference.
Comment 10 Fabian Vogt 2016-09-23 07:58:24 UTC
Only the first activity during the first login seems to be affected, by creating and switching to a new one only one "Configure Desktop" dialog appears.
Comment 11 Wolfgang Bauer 2016-09-23 12:43:29 UTC
And I'd like to add that this doesn't only happen with the "Configure Desktop" dialog.

The problem occurs for all Plasmoid config dialogs, if you right-click on a plasmoid and choose "XXX Settings".
Comment 12 Fabian Vogt 2016-09-29 09:50:40 UTC
The issue appears also after switching the look-and-feel with the "Use desktop layout from theme" checkbox enabled.
Comment 13 Marco Martin 2016-09-29 11:02:50 UTC
Git commit e496a287432484493262fe7a05c5129ab8162b37 by Marco Martin.
Committed on 29/09/2016 at 11:02.
Pushed by mart into branch 'Plasma/5.8'.

avoid duplicate desktopviews on first startup

Summary:
on first startup all the desktop views already exist after the
script has been executed, so check the screen doesn't already have
a view for that screen before creating one

Test Plan: tested both first and subsequent startups, one desktopview per screen created, containment config dialog coming up (and only one of them)

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D2885

M  +5    -1    shell/shellcorona.cpp

http://commits.kde.org/plasma-workspace/e496a287432484493262fe7a05c5129ab8162b37
Comment 14 Kyle 2016-11-10 04:41:51 UTC
I just got this on Plasma 5.8.2 on Debian Stretch