https://bugs.kde.org/show_bug.cgi?id=299155

--- Comment #8 from Danil Shein <dsh...@altlinux.org> ---
(In reply to Danil Shein from comment #7)
> Still an issue in KDE Frameworks 5.70.0

One suggestion about root cause from my experience with KPropertiesDialog
source code:

As far as I cold understand KPropertiesDialog receives KFileItem or
KFileItemList instance as input.

All ACLs related data is stored in and managed through related KFileItem
UDSEntry.

It looks like when you've reopen file properties dialog again after ACL changes
applied it is receive an KFileItem without appropriate UDSEntry and displays
ACL as inherited from regular UNIX permissions.

Can't say where and why it actually happens.

My suggestion is based on experience playing around with code:

path = "/home/dshein/src/tmp/1/2/share/1.txt";
    KFileItem kfitem(QUrl::fromLocalFile(path));
    KPropertiesDialog kpd(QString("File properties"), 0);
    kpd.showDialog(kfitem, 0);
    kpd.showDialog(QUrl::fromLocalFile(path), 0);
    kpd.showDialog(kfitem, 0);
    kpd.showDialog(QUrl::fromLocalFile(path), 0);

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

Reply via email to