Bug 389916 - Opening a large json file opens multiple windows
Summary: Opening a large json file opens multiple windows
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 5.0.97
Platform: Debian testing Linux
: NOR grave
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-05 13:21 UTC by David
Modified: 2022-11-20 15:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2018-02-05 13:21:43 UTC
When opening a large nested JSON text file, konqueror keeps endlessly opening multiple windows until running out of memory.
Comment 1 Justin Zobel 2022-11-15 22:58:27 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 David 2022-11-20 09:32:52 UTC
Still reproducible, but now with every single thing it opens, not just json files.
Comment 3 Stefano Crocco 2022-11-20 10:36:49 UTC
(In reply to David from comment #2)
> Still reproducible, but now with every single thing it opens, not just json
> files.

I've never seen something like that. Which Konqueror version have you tried, and which version of the KDE frameworks (in particular, of KIO) do you have installed? Also: when you say every thing it opens, do you mean image files, PDF files, all kind of text files, video files, Office/LibreOffice/OpenOffice files, ...? When I read your original bug report regarding JSON files, I had a suspicion about the cause; that would only apply to some kind of files, however, unless there's something very wrong in your configuration.

Could you please go to the "File associations" page of the Konqueror configuration dialog and check the settings for one of the file types which give you this problem? In particular, I'd need to know:
- which are the first two entries in the "Application preference order" list in the General tab. If it's the third entry ("Use settings for ... group"), please also tell me the corresponding entry for the group the file type belongs to.
- what is your selection for the "Left click action in Konqueror" entry in the "Embedding" tab
- what are the first two (or first, if there's only one) entry in your "Service preference order" list in the "Embedding" tab

Thanks
Comment 4 David 2022-11-20 10:58:42 UTC
From some further experiments, the bug doesn't happen when opening image files, but does happen for html, json, and text files. Oddly, it only happens when opening the files by clicking them in dolphin or ark, but not when opening them through the file menu in konqueror.

I tried going to the file association settings to check them, but the dropdown items don't expand when clicking them, and the list shown there seems to be suffering from other issues such as not reacting to main window resizes.
Comment 5 Stefano Crocco 2022-11-20 15:28:23 UTC
(In reply to David from comment #4)
> From some further experiments, the bug doesn't happen when opening image
> files, but does happen for html, json, and text files. Oddly, it only
> happens when opening the files by clicking them in dolphin or ark, but not
> when opening them through the file menu in konqueror.
> 
> I tried going to the file association settings to check them, but the
> dropdown items don't expand when clicking them, and the list shown there
> seems to be suffering from other issues such as not reacting to main window
> resizes.

I think I succeeded in reproducing your issue. I'll look into it.