Well ... someone in a corporate environment here [1] really suffering from this bug after upgrading to openSUSE Leap 42.1 which ships with Plasma 5. Considering openSUSE Leap and SUSE Linux Enterprise Server are now so tightly coupled in development I suspect this bug will start to affect more and more users.
I would like to add that sometimes it's not just an extra warning, but actually blocks the UI.
Running strace on kwrite opening a file from a NFSv4 drive results in the following messages:
open("/NFSv4mount/home/user/.config/kwriterc.lock", O_WRONLY|O_CREAT|O_EXCL|O_CLOEXEC, 0644) = 9
fcntl(9, F_SETFD, FD_CLOEXEC) = 0
flock(9, LOCK_EX|LOCK_NB) = 0
fcntl(9, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "setNativeLocks failed: Resource "..., 56setNativeLocks failed: Resource temporarily unavailable
) = 56
write(9, "24895\nkwrite\nPC-123456\n", 23) = 23
open("/NFSv4mount/home/user/.config/kwriterc.lock", O_RDONLY|O_CLOEXEC) = 12
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
fstat(12, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
read(12, "29337\nkwrite\nPC-123456\n", 16384) = 23
read(12, "", 16361) = 0
close(12) = 0
uname({sysname="Linux", nodename="PC-123456", ...}) = 0
kill(29337, SIG_0) = -1 ESRCH (No such process)
open("/NFSv4mount/home/user/.config/kwriterc.lock", O_WRONLY|O_CLOEXEC) = 12
fcntl(12, F_SETFD, FD_CLOEXEC) = 0
flock(12, LOCK_EX|LOCK_NB) = 0
fcntl(12, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EAGAIN (Resource temporarily unavailable)
close(12) = 0
close(9) = 0
unlink("/NFSv4mount/home/user/.config/kwriterc.lock") = 0
nanosleep({6, 400000000}, 0x7ffd3a249730) = 0
(the nanosleep timer just increases, meanwhile the kwrite window stays "blank" (actually whatever the background of the window was when it was started)).
If I intervene and remove this file kwrite immediately returns and shows the file. And in subsequent starts the file opens immediately.
Perhaps a workaround would be to move my .config directory back to local disk and place a symlink in my home folder to this on disk location.
Relevant bug report:
https://bugreports.qt.io/browse/QTBUG-43454
===
My corporate environment, for those interested:
[1] Using sssd.conf: services = nss, pam, autofs
Using ldap to login, automount to mount a NFSv4 Kerberized mount.