Bug 424596 - Double clicking on a 'recent' open file will open 2 copies of the file.
Summary: Double clicking on a 'recent' open file will open 2 copies of the file.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (other bugs)
Version First Reported In: 4.3.0
Platform: Mint (Ubuntu based) Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-24 05:32 UTC by Ralek Kolemios
Modified: 2021-08-20 14:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralek Kolemios 2020-07-24 05:32:59 UTC
When first starting Krita, instinctually double clicking a recent file will open 2 copies of that file. This behavior isn't seen nearly anywhere else in Windows as far as I'm aware, and if Krita wanted to fit more in place with user's natural muscle memory for opening files, it would be better to have one click select, and a second click shortly after to open.

However that would interfere with user's muscle memory if they had already gotten used to the single click. As a compromise, it may be better to have a single click open the file, and any subsequent clicks be entirely ignored to prevent duplication.

While it doesn't necessarily hurt in any way besides being a minor annoyance, 'fixing' it this way wouldn't change anyone's workflow or make anyone complain, so I see no reason not to.

I am unsure if this behavior happens on other OS' builds.
Comment 1 Tiar 2020-07-27 16:53:28 UTC
It was a case in Krita 4.2.9, but Krita 4.3.0 works as expected. Can you please check if you're for sure using the latest version? And you haven't say your system either.
Comment 2 Ralek Kolemios 2020-07-29 12:33:39 UTC
My bad, this is on a Windows 10 N system using 4.3.1-alpha (08ecea2)
On trying to recreate it, I think I might be mistaking a different functionality.

All I know is when I would first open Krita and accidentally double click my recent file, it would open twice. Now that I try this again, it works as expected and only opens once.

If I had to guess what actually happening, I probably turned off my desktop with the file still open. And upon starting up my computer again and opening Krita, it then loads what I had open the previous day. but during the time that it's loading that, it allows me to click the recent file, thus opening it twice.
Comment 3 tomtomtomreportingin 2020-07-31 03:34:57 UTC
This report led me to finding a related trick: If you click multiple different recent files in quick succession, you can open multiple files at once. Likely unintended, but likely not worth fixing either.
Comment 4 Tiar 2020-07-31 12:41:58 UTC
Confirming, with following steps to reproduce:
- open some big file that will be opening for several seconds (to make it easier later)
- close it
- click on the file, then click again (you can do double-click and then double-click or replace any of them with single clicks, it doesn't matter, what matters is that you trigger opening it twice)
- wait
- see that it opened two documents

@tom shows that it could be used for good but... I think there should be some blocking; especially when opening big images, since there is no progress bar, it can look like Krita is idle and impatient user can click it again and again, resulting in a RAM disaster. But it does look minor now when the double-click is fixed.
Comment 5 Tiar 2021-08-20 14:14:50 UTC
Welcome Screen now is disabled after first clicking, so you can't open two files.