[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-07-10 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #17 from Nate Graham  ---
The app will need a similar fix, to set proper parents for all its transient
popups and dialogs. Qt tries to guess these automatically, but the most
reliable path is for the app to set them itself.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-07-08 Thread medin
https://bugs.kde.org/show_bug.cgi?id=488515

medin  changed:

   What|Removed |Added

 CC||med.medin.2...@gmail.com

--- Comment #16 from medin  ---
The crash also happens with qalculate-qt, when I start typing an expression,
that popup appears to help select a math function based on the first letters,
then randomly the whole app crashes, and it displays the following message on
terminal:

xdg_wm_base#3: error 3: no xdg_popup parent surface has been specified
The Wayland connection experienced a fatal error: Protocol error


Operating System: Manjaro Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.8-1-MANJARO (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-07-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

 CC||fernandommu...@gmail.com

--- Comment #15 from Nate Graham  ---
*** Bug 489418 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-07-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|6.2.0   |Plasma 6.2.0 with
   ||Frameworks 6.4

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-07-02 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

 CC||madness...@proton.me

--- Comment #14 from Nate Graham  ---
*** Bug 489598 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=489259

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.2.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-25 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=488515

Vlad Zahorodnii  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/libplasma/-/commit/11201
   ||30cfedaa3770b5009a4bbf13d94
   ||c84d12b2
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #13 from Vlad Zahorodnii  ---
Git commit 1120130cfedaa3770b5009a4bbf13d94c84d12b2 by Vlad Zahorodnii.
Committed on 25/06/2024 at 14:16.
Pushed by vladz into branch 'master'.

Specify transient parent both for drop menu and drop job

Currently, the transient parent for the drop job popup is unset, so
QtWayland QPA needs to guess the transient parent, otherwise the
client would be killed due to violating the xdg-shell protocol.

The popup parent heuristics in QtWayland are based on input events,
specifically they check what window the user interacted with last
time, i.e. where the last pointer button click has occurred, etc.

When dragging something, the last interacted window will correspond
to the drag source, so if a popup needs to be shown, it will likely
have the drag source window as the transient parent. This can be a
problem. For example, when dragging an item from Kickoff to the
desktop, Kickoff window will close when a drop occurs on the desktop.

QtWayland can't work around that. It simply needs to be told proper
metadata about the connection of the popup to the parent window. The
purpose of the setTransientParent() function is to achieve exactly
that.

M  +11   -3src/plasmaquick/plasmoid/dropmenu.cpp

https://invent.kde.org/plasma/libplasma/-/commit/1120130cfedaa3770b5009a4bbf13d94c84d12b2

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-24 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #12 from Vlad Zahorodnii  ---
Git commit b6de43287519ecc2e9fdaa160e5a5b2f33ef9a31 by Vlad Zahorodnii.
Committed on 24/06/2024 at 16:55.
Pushed by vladz into branch 'master'.

Port DropJob to KJobWidgets::windowHandle()

This allows QtQuick components setting transient parent for DropJobs.

M  +11   -0src/widgets/dropjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/b6de43287519ecc2e9fdaa160e5a5b2f33ef9a31

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-24 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #11 from Vlad Zahorodnii  ---
Git commit cccaa8f89897146043a535d45a276e3a57412815 by Vlad Zahorodnii.
Committed on 24/06/2024 at 16:50.
Pushed by vladz into branch 'master'.

kjobwidgets: Add functions to associate QWindow with a KJob

KJobWidgets::setWindow() only works with QWidget objects. But there are
cases where a QtQuick based component needs to associate a QWindow with
a KJob in order to set a proper trasient parent for popups, etc.

M  +9-1src/kjobwidgets.cpp
M  +22   -1src/kjobwidgets.h

https://invent.kde.org/frameworks/kwidgetsaddons/-/commit/cccaa8f89897146043a535d45a276e3a57412815

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-24 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #10 from Vlad Zahorodnii  ---
Git commit d3ffa52bf2deb487ce9761551c08b6905a5dffb1 by Vlad Zahorodnii.
Committed on 24/06/2024 at 16:50.
Pushed by vladz into branch 'master'.

kjobwidgets: Force setWindow() creating a window handle

Otherwise a null window handle may be set.

M  +9-1src/kjobwidgets.cpp

https://invent.kde.org/frameworks/kwidgetsaddons/-/commit/d3ffa52bf2deb487ce9761551c08b6905a5dffb1

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=488515

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #8 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/libplasma/-/merge_requests/1151

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-20 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #9 from Vlad Zahorodnii  ---
qtwayland patch: https://codereview.qt-project.org/c/qt/qtwayland/+/570201

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-20 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #7 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/frameworks/kio/-/merge_requests/1650

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-19 Thread Petar Nedyalkov
https://bugs.kde.org/show_bug.cgi?id=488515

Petar Nedyalkov  changed:

   What|Removed |Added

 Ever confirmed|1   |0
 Status|CONFIRMED   |REPORTED

--- Comment #6 from Petar Nedyalkov  ---
Hello Nate. Thank you for your feedback. I updated Plasma to 6.1 stable on my
Arch Linux but the issue still persists. I have installed the Wayland protocols
packages listed below:
plasma-wayland-protocols - 1.13.0-1
wayland-protocols- 1.36-1

Unfortunately, I cannot downgrade Qt to 5.7.x on Arch Linux. Here is my updated
configuration:
Operating System: Arch Linux 
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.8.0
Kernel Version: 6.9.5-arch1-1 (64-bit)
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-19 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=488515

Vlad Zahorodnii  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com

--- Comment #5 from Nate Graham  ---
I talked to a KWin developer and he said it's likely a Qt issue. I see you're
using 6.8, while I've got 6.7.1 myself (and it works for me), so this seems
possible.

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-19 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #4 from Nate Graham  ---
Fascinating. Yeah, I can't reproduce that with git master everything. I wonder
if this is caused by an old version of plasma-wayland-protocols, maybe? What
version of that package (might be under a slight different name) do you have?

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-17 Thread Pesho
https://bugs.kde.org/show_bug.cgi?id=488515

Pesho  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #3 from Pesho  ---
Hello Nate,

Thank you for your feedback. I removed and uninstalled the widget, but the
issue is still reproducible. I recorded a new video and can be found in the
above comment. The Plasmashell exits with the following Wayland protocol error:

qt.qml.context:
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/KickoffDropArea.qml:19:5
Parameter "drag" is not declared. Injection of parameters into signal handlers
is deprecated. Use JavaScript functions with formal parameters instead.
file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/KickoffGridView.qml:147:19:
QML KickoffGridDelegate (parent or ancestor of QQuickDragAttached): Binding
loop detected for property "active"
Arrived mimeData
QList(QUrl("file:///usr/share/applications/systemsettings.desktop"))
QList("text/uri-list") at 788 ,  753
Mimetype Job returns. "application/x-desktop"
Received a suitable dropEvent at  QPoint(788,753)
Bailing out. Cannot find associated dropEvent related to the TransferJob
Creating menu for:  "application/x-desktop"
xdg_wm_base#3: error 3: no xdg_popup parent surface has been specified
The Wayland connection experienced a fatal error: Protocol error

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-17 Thread Pesho
https://bugs.kde.org/show_bug.cgi?id=488515

--- Comment #2 from Pesho  ---
Created attachment 170589
  --> https://bugs.kde.org/attachment.cgi?id=170589=edit
Video 2

-- 
You are receiving this mail because:
You are watching all bug changes.

[plasmashell] [Bug 488515] Plasmashell exits with Wayland protocol error ("xdg_popup parent surface has been specified") when I drag and drop an icon from the application launcher to the desktop on Wa

2024-06-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=488515

Nate Graham  changed:

   What|Removed |Added

Summary|Plasmashell crashes when I  |Plasmashell exits with
   |drag and drop an icon from  |Wayland protocol error
   |the application launcher to |("xdg_popup parent surface
   |the desktop on Wayland  |has been specified") when I
   ||drag and drop an icon from
   ||the application launcher to
   ||the desktop on Wayland
 Resolution|--- |WAITINGFORINFO
 CC||n...@kde.org
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Nate Graham  ---
Cannot reproduce. The logging shows that yo have a broken widget somewhere:

> KPackageStructure of KPluginMetaData(pluginId:"zayron.simple.separator", 
> fileName:
> "/home/pnedyalkov/.local/share/plasma/plasmoids/zayron.simple.separator/metadata.json")
> does not match requested format "Plasma/Applet"
I wonder if this is related; if you remove that widget and then restart the
machine, does the issue still happen?

Obviously if this fixes it, we have a different bug; a broken widget shouldn't
cause this issue. But it would be good to know if that's related or not.

-- 
You are receiving this mail because:
You are watching all bug changes.