[Solved] Delete "Open Recent" list - not all, but only one entry

Can you please make this happen in a newer version?:blush:
Maybe with an .ini file (on windows systems)?:thinking:

1 Like

Why though. The devs canā€™t add unnecessary features like this one because one specific users wants to, a feature is something that takes multiple lines of code and has to be kept maintained by the devs. This feature would just be bloat that wastes the time of the developers for no reason.

All ā€œgoodā€ applications have this option.

Word: no option

Audacity: no removing a specific file only clear all
image

VSCode: no removing a specific file only clear all

2 Likes

Word has the Option, even if it is not obvious.

Not all Applications has the option in itā€™s application, but per file!
Pleaseā€¦:roll_eyes: if you donā€™t know shut up :shushing_face: .:blush:
I donā€™t mean any harm.
You donā€™t need it, fineā€¦ but that does not mean that others do not want it

An option to clear the list, why not.
An option to clear one single item, I agree itā€™s not worth the trouble. Just ignore the line if you donā€™t want to open it. :man_shrugging:
But letā€™s see if other people vote for itā€¦

1 Like

Hi given this as a solution

I donā€™t think this feature is pretty much needed.
But hey if anyone wants it.

Example:

A lot of code, huh?!:blush:

This is a c# code snippet which would have nothing to do with the interface or methods used in GDevelop, which does not use C#, nor does the UI use the methods listed here.

Edit: To be clear, I would just see if folks have interest, and if so, then weā€™d wait to s for if a contributor has interest. The contributor would decide on implementation, so I wouldnā€™t worry about looking up code snippets.

1 Like

The programming language is not matter!:roll_eyes:

This only one example to show how much code is needed.

The amount of code for one programming language has no relation to the amount of code needed for a different language, as well as it doesnā€™t take into account the actual UI design, dependencies, and methods for the destination system.

Please avoid making assumptions about level of effort needed for something in GD5 unless you are specifically familiar with the codebase.

Well, first of all, tell me one use case for removing a specific file of the history. Then, again, it is not about if I have use for it but if anyone but you have any use for it. What you are asking for is not ā€œa few lines of codeā€, anyone that ever used a computer know that you cannot right click a context menu entry to get a sub-context menu. The recent file list is in a context menu though. That means there would have to be a whole menu or UI inside GDevelop for that. This takes some effort to make and once something is added to a software, the devs have to maintain it forever. Additionally, it would take space on the UI and bloat it. Features that are not necessary to the software and not useful for the big majority of users have no place there as they are just bloating unnecessarily the software and should not be added.

As a moderator, i need to remind you that this is a place for civilized discussion and we are not tolerating insults towards anyone. Phrasing it in a passive-agressive way by adding ā€œI do not mean any harmā€ isnā€™t changing anything.


Edit:

In fact, let me estimate how much code this would take.
First we need to make a React component that displays and lets you remove individual entries.

  • React component boilerplate ā†’ around 10 lines
  • Importing and using a premade component for lists, the dialog, and the trashcan icon ā†’ around 20 lines
  • Getting the list of recently opened files and creating a list entry for each ā†’ around 3 lines + around 7 lines in the electron main process as this is a native API = 10 lines
  • Adding deletion logic on click of the trashcan icon ā†’ around 10 lines of code

Finally we need to attach the component to an existing component, around 5 lines of code.

Total: about 55 lines of code. Keep also in mind that this is writing code, not just writing text. You need to actually think about the logic and how it will behave, not just write out what you are thinking.

If I asked you to add to your game around 50 actions (some of them containing complex expressions, where you may need to spend much time figuring them out, not simple ones like the hide action), for something like ā€œI am scared of balloons so I want you to add an option in your game to make all balloons pop when I approach themā€, I doubt you would do it.

1 Like

Deleting the whole list is more than enough I think.

4 Likes

For me itā€™s enough if there is a .ini file where i can delete a line.:wink:
No more menues, trashcan icons etc. in the application is required.

How it could works:
Close the app, open .ini, delete one of the rows, save and close .ini, open app again - done.:blush:
App read the .ini file at startup.

Iā€™d love to see an option for clearing the recent projects list (I donā€™t need/want an option for deleting individual items).

I currently have 15 ā€˜recentā€™ projects that display when I open GDevelop, only 1 of which still exists :smile:

1 Like

Despite saying how hard it would be to implement, it seems the developers did end up adding this to the latest version:

image

So guess this can be closed nowā€¦?

1 Like