[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2024-03-06 Thread Rob Krum
https://bugs.kde.org/show_bug.cgi?id=439961

Rob Krum  changed:

   What|Removed |Added

Version|5.83.0  |5.115.0

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2024-03-06 Thread Rob Krum
https://bugs.kde.org/show_bug.cgi?id=439961

--- Comment #7 from Rob Krum  ---
Created attachment 166540
  --> https://bugs.kde.org/attachment.cgi?id=166540=edit
Screenshot which shows the error still occurs in fresh install of TW

To see if the error was still reproducible using the steps given in the
original report, a virtual machine with the most up to date build of openSUSE
Tumbleweed was spun up. The error is still reproducible and I will update the
bug report's specs.

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2024-03-06 Thread Rob Krum
https://bugs.kde.org/show_bug.cgi?id=439961

--- Comment #6 from Rob Krum  ---
> If you can't reproduce it anymore, maybe it should be resolved WORKSFORME.

In my previous post I stated

> However, I am confident if I just installed Firefox with Kmozillahelper and 
> use it, I would continue to get this error flooding the journal.

I will not be marking this resolved because your particular circumstance
invoking the error is no longer reproducible whereas my original report still
is. I can spin up a VM to verify but, again, I am confident nothing has
changed. The title remains useful in that it is the exact circumstances to
encounter this issue. The bug does not occur if you do not use kmozillahelper,
and kmozillahelper cannot be invoked without firefox, but you can use firefox
without kmozillahelper. Kmozillahelper is the bridge between Firefox and KDE to
use KDE dialogs.

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

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

--- Comment #5 from kdeb...@toeai.com ---
The error message doesn't reproduce for me anymore, either where it did for me
(in the console) or where it did for you (in journal logs).  I get other errors
in the journal log (related to QXcbConnection) but not this one.

Of course whatever used to cause this message was not directly related to
Firefox, so the title of this bug isn't super useful.

If you can't reproduce it anymore, maybe it should be resolved WORKSFORME.

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2024-03-06 Thread Rob Krum
https://bugs.kde.org/show_bug.cgi?id=439961

Rob Krum  changed:

   What|Removed |Added

 Attachment #156588|0   |1
is obsolete||

--- Comment #4 from Rob Krum  ---
Created attachment 166530
  --> https://bugs.kde.org/attachment.cgi?id=166530=edit
kiobug.py rewritten more pythonically

I had been meaning to do this for some time, but I have rewritten the test case
by kdeb...@toeai.com in a more pythonic way. Instead of handing file/folder
creation/removal via the "system" command, it uses python libraries. There is
also the rare danger of running the original script in where a "subdir" folder
exists, and the script will nuke it. This is avoided by creating a temp folder
with a hashed timestamp to avoid any potential conflicts.

However, as with the original script, I can not reproduce the error still. I
also no longer use linux as a daily driver but only as a subsystem in Windows
now. However, I am confident if I just installed Firefox with Kmozillahelper
and use it, I would continue to get this error flooding the journal.

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

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

smow  changed:

   What|Removed |Added

 CC||smowten...@protonmail.com

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2023-02-24 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=439961

--- Comment #3 from kdeb...@toeai.com ---
(In reply to Rob Krum from comment #2)
> Sadly I am unable to reproduce the error with the script provided. 
> ... It might be because I'm running
> it in IDLE and terminal?

I just realized we're experiencing this error message in different places.  You
say it's in your systemd journal logs.  For me, it's just dumped into my
Konsole window via stderr.  It does not appear when I look in journalctl.

I don't have IDLE installed, but I can't imagine that would make a difference. 
It works the same for me whether I just run
python3 kiobug.py
or whether I start the REPL with python3 and then paste in the contents of the
file.
You do, of course, need to follow the directions at the top of the file, i.e.
click into the 'subdir' folder and hit escape to close the first popup.  The
script I provided depends on PyQt5, but I also tried it with PySide2 and it
works identically.

Sorry if it didn't reproduce for you.  It still does 100% for me.

I was also able to reproduce it in K3B using the same method.**  I also
reproduced it in Konsole using the same method (using the Open File dialog that
comes up with you click "View" -> "Load tab layout from file").  I couldn't
reproduce it from certain other KDE programs, but that may have something to do
with the particular file type filter each program applies to the Open File
dialog.

**Make a folder containing a file that the program will not recognize and will
thus filter out in the Open File dialog.  Launch the program from the folder
containing the new folder (not from the new folder itself).  Open the open
dialog, click into the folder, cancel/escape, and then open the dialog again.

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2023-02-24 Thread Rob Krum
https://bugs.kde.org/show_bug.cgi?id=439961

--- Comment #2 from Rob Krum  ---
Sadly I am unable to reproduce the error with the script provided. I had
however put: [export QT_LOGGING_RULES="kf.kio.widgets.kdirmodel.warning=false"]
into my .bashrc file previously to supress the noise these errors cause. I've
removed that line and the noise from kmozillahelper has resumed, flooding my
logs, but the script itself isn't generating anything. It might be because I'm
running it in IDLE and terminal?

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

[frameworks-kio] [Bug 439961] kdirmodel not finding node for removed items when dialogs using kmozillahelper for Firefox are called

2023-02-21 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=439961

kdeb...@toeai.com changed:

   What|Removed |Added

 CC||kdeb...@toeai.com

--- Comment #1 from kdeb...@toeai.com ---
Created attachment 156588
  --> https://bugs.kde.org/attachment.cgi?id=156588=edit
reproducible test case

I also see this error using Frescobaldi (based on PyQt5) almost every time an
open or save dialog is launched.

I've reduced the problem to a tiny reproducible test case.  Simply run the
attached .py file according to the instructions at the top of the file, and the
error message will appear, i.e.

kf.kio.widgets.kdirmodel: No node found for item that was just removed:
QUrl("file:///home/user/path-to/subdir/not-a-cool-file.txt")

Operating System: Kubuntu 22.10
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

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