[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In|6.1.0   |6.1.1

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Dashon  changed:

   What|Removed |Added

   Version Fixed In|6.0.1   |6.1.0

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-06-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=481254

David Edmundson  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
   |4da2346e42302349422cf7c45e6 |97794807a9a974ba32ee160665f
   |4e838fb4d630f   |0b69795888268

--- Comment #17 from David Edmundson  ---
Git commit 97794807a9a974ba32ee160665f0b69795888268 by David Edmundson, on
behalf of David Edmundson.
Committed on 17/06/2024 at 13:38.
Pushed by davidedmundson into branch 'Plasma/6.1'.

FolderView Positioner: fix dragging files across screens.

f0ede2d83731952012be0d43c77916d18617edb2 fixed a bug in which items
would disappear when dragging between screens. The rationale in the
description was correct. The fix there was to queue the connection of
rowsInserted so that we don't emit move signals before Positioner proxy
model has processed any pending rowsInserted signals.

This was incorrectly simplified in
99a3597285a92531efb09492421fac0a6a2e82dc . The important part isn't to
process it after FolderModel gets a source model set, but to process it
after Positioner gets the source model, which FolderView doesn't know
about and the original bug introduced.

Rather than a straight revert the code is adjusted to emit the move
signal delayed. This is safer than delaying the processing of a signal
with index arguments.
Related: bug 466337


(cherry picked from commit 4da2346e42302349422cf7c45e64e838fb4d630f)

Co-authored-by: David Edmundson 

M  +10   -4containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/97794807a9a974ba32ee160665f0b69795888268

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

--- Comment #16 from Dashon  ---
(In reply to David Edmundson from comment #15)
> Git commit 4da2346e42302349422cf7c45e64e838fb4d630f by David Edmundson.
> Committed on 17/06/2024 at 12:44.
> Pushed by davidedmundson into branch 'master'.
> 
> FolderView Positioner: fix dragging files across screens.
> 
> f0ede2d83731952012be0d43c77916d18617edb2 fixed a bug in which items
> would disappear when dragging between screens. The rationale in the
> description was correct. The fix there was to queue the connection of
> rowsInserted so that we don't emit move signals before Positioner proxy
> model has processed any pending rowsInserted signals.
> 
> This was incorrectly simplified in
> 99a3597285a92531efb09492421fac0a6a2e82dc . The important part isn't to
> process it after FolderModel gets a source model set, but to process it
> after Positioner gets the source model, which FolderView doesn't know
> about and the original bug introduced.
> 
> Rather than a straight revert the code is adjusted to emit the move
> signal delayed. This is safer than delaying the processing of a signal
> with index arguments.
> Related: bug 466337
> 
> M  +10   -4containments/desktop/plugins/folder/foldermodel.cpp
> 
> https://invent.kde.org/plasma/plasma-desktop/-/commit/
> 4da2346e42302349422cf7c45e64e838fb4d630f

Thanks David

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-06-17 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=481254

David Edmundson  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
   |e306c63ddbeaccea72a03fbb2c3 |4da2346e42302349422cf7c45e6
   |dbd8245addef5   |4e838fb4d630f

--- Comment #15 from David Edmundson  ---
Git commit 4da2346e42302349422cf7c45e64e838fb4d630f by David Edmundson.
Committed on 17/06/2024 at 12:44.
Pushed by davidedmundson into branch 'master'.

FolderView Positioner: fix dragging files across screens.

f0ede2d83731952012be0d43c77916d18617edb2 fixed a bug in which items
would disappear when dragging between screens. The rationale in the
description was correct. The fix there was to queue the connection of
rowsInserted so that we don't emit move signals before Positioner proxy
model has processed any pending rowsInserted signals.

This was incorrectly simplified in
99a3597285a92531efb09492421fac0a6a2e82dc . The important part isn't to
process it after FolderModel gets a source model set, but to process it
after Positioner gets the source model, which FolderView doesn't know
about and the original bug introduced.

Rather than a straight revert the code is adjusted to emit the move
signal delayed. This is safer than delaying the processing of a signal
with index arguments.
Related: bug 466337

M  +10   -4containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/4da2346e42302349422cf7c45e64e838fb4d630f

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

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

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Nate Graham  changed:

   What|Removed |Added

   Priority|VHI |HI

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Nate Graham  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED

--- Comment #13 from Nate Graham  ---
Yup, a different bug, and already fixed in KIO IIRC

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-06-10 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=481254

--- Comment #12 from Dashon  ---
(In reply to nethaven from comment #11)
> I can file a separate report if needed, but I think this might be related.
> I am using Garuda KDE, X11 and Nvidia drivers/card (RTX 3060 12GB), AMD
> Ryzen 5.
> If I create a launcher in the Application Launcher, then add it to the
> desktop, then edit that desktop launcher's icon, the icon disappears.  It
> reappears if I restart the machine (presumably the essential shell restart).

I believe that is a different bug that has already been fixed. I recall seeing
it mentioned in ThiWeekInKDE article.

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-06-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=481254

netha...@hotmail.com changed:

   What|Removed |Added

 CC||netha...@hotmail.com

--- Comment #11 from netha...@hotmail.com ---
I can file a separate report if needed, but I think this might be related.
I am using Garuda KDE, X11 and Nvidia drivers/card (RTX 3060 12GB), AMD Ryzen
5.
If I create a launcher in the Application Launcher, then add it to the desktop,
then edit that desktop launcher's icon, the icon disappears.  It reappears if I
restart the machine (presumably the essential shell restart).

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-05-24 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=481254

Dashon  changed:

   What|Removed |Added

 Resolution|FIXED   |---
Version|5.93.0  |git-stable-Plasma/6.1
 Status|RESOLVED|REOPENED

--- Comment #10 from Dashon  ---
I'm beta testing plasma 6.1 on arch and currently this issue seems to have
popped back up. If I add a file to the desktop and then drag it from one
monitor to another. It once again enters the avoid only to be returned on
reboot or possibly restarting plasmashell.

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-03-06 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=481254

--- Comment #9 from Dashon  ---
It is fixed in  6.0.1, although I do see it briefly appear on the previous
monitor before jumping to the monitor that you dragged it to. I'll file a
different report for that though.

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-03-04 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=481254

Dashon  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Dashon  ---
Sorry, I didn't check the date. The solution was rather recent and most likely
isn't in a current release yet. My apologies for reopening this.

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-03-04 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=481254

Dashon  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #7 from Dashon  ---
I seem to be once again having this issue on plasma 6. I'm using arch's testing
repositories, so that may be the issue. Can anyone confirm that there haven't
been any regressions?

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-03-04 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=481254

Dashon  changed:

   What|Removed |Added

 CC||dashonww...@pm.me

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||6.0.1

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-02-28 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=481254

Marco Martin  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
   |f0ede2d83731952012be0d43c77 |e306c63ddbeaccea72a03fbb2c3
   |916d18617edb2   |dbd8245addef5

--- Comment #6 from Marco Martin  ---
Git commit e306c63ddbeaccea72a03fbb2c3dbd8245addef5 by Marco Martin.
Committed on 28/02/2024 at 08:50.
Pushed by mart into branch 'Plasma/6.0'.

FolderView Positioner: fix rows insert and remove

The positioner "proxy" model had problems both in rows insertion and
removal.

when an icon is dropped in an empty desktop area as the new "last"
position, the positioner model creates new empty items for the GridView
until it reaches the cell of the drop position.

This broke because of connection slot invocation order: the connection
to QAbstractItemModel::rowsInserted in FolderModel constructor was
executed before the connection in positioner.
In turn that connection emitted move, which invoked move on Positioner,
which at this point thinks its still in the first rows insertion
transaction, because its slot has not been executed yet,
and m_beginInsertRowsCalled is still true, so there won't be a "correct"
new beginInsertRows called.
Make it a Queued connection to push it back.

In the same way, when dragging from a "last" position, the Positioner model
will remove all the trailing empty items. But it modified m_proxyToSource
(from which rowCount() depends) before calling beginRemoveRows, sending
the model into an inconsitent state and causing an assert. Make sure
that m_proxyToSource is touched only after beginRemoveRows.
Related: bug 466337

M  +18   -11   containments/desktop/plugins/folder/foldermodel.cpp
M  +11   -6containments/desktop/plugins/folder/positioner.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/e306c63ddbeaccea72a03fbb2c3dbd8245addef5

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-02-28 Thread Marco Martin
https://bugs.kde.org/show_bug.cgi?id=481254

Marco Martin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/plasma-desktop/-/commit/
   ||f0ede2d83731952012be0d43c77
   ||916d18617edb2
 Resolution|--- |FIXED

--- Comment #5 from Marco Martin  ---
Git commit f0ede2d83731952012be0d43c77916d18617edb2 by Marco Martin.
Committed on 28/02/2024 at 08:49.
Pushed by mart into branch 'master'.

FolderView Positioner: fix rows insert and remove

The positioner "proxy" model had problems both in rows insertion and
removal.

when an icon is dropped in an empty desktop area as the new "last"
position, the positioner model creates new empty items for the GridView
until it reaches the cell of the drop position.

This broke because of connection slot invocation order: the connection
to QAbstractItemModel::rowsInserted in FolderModel constructor was
executed before the connection in positioner.
In turn that connection emitted move, which invoked move on Positioner,
which at this point thinks its still in the first rows insertion
transaction, because its slot has not been executed yet,
and m_beginInsertRowsCalled is still true, so there won't be a "correct"
new beginInsertRows called.
Make it a Queued connection to push it back.

In the same way, when dragging from a "last" position, the Positioner model
will remove all the trailing empty items. But it modified m_proxyToSource
(from which rowCount() depends) before calling beginRemoveRows, sending
the model into an inconsitent state and causing an assert. Make sure
that m_proxyToSource is touched only after beginRemoveRows.
Related: bug 466337

M  +18   -11   containments/desktop/plugins/folder/foldermodel.cpp
M  +11   -6containments/desktop/plugins/folder/positioner.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/f0ede2d83731952012be0d43c77916d18617edb2

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-02-26 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=481254

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

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

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

2024-02-24 Thread postix
https://bugs.kde.org/show_bug.cgi?id=481254

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

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

[plasmashell] [Bug 481254] Desktop files/folders dropped from one screen onto another one disappear until plasmashell is restarted or the other screen is disconnected/reconnected

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

Nate Graham  changed:

   What|Removed |Added

Summary|moving desktop icons from   |Desktop files/folders
   |one monitor to another  |dropped from one screen
   |results the icons don't |onto another one disappear
   |show up on the second   |until plasmashell is
   |monitor |restarted or the other
   ||screen is
   ||disconnected/reconnected

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