New Keyboard Shortcuts in FET

Started by Alami mohammed, August 29, 2025, 04:52:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Alami mohammed

Hello,

First, thank you for the great work on FET. The software is very useful and efficient.

Currently, we have the Ctrl+G shortcut for generating an individual timetable, which is very convenient.
I would like to suggest adding two more shortcuts:

Ctrl+H → for generating multiple timetables

Delete (Supp) key → for deleting selected items


These shortcuts would make the workflow faster and more user-friendly.

Thank you for considering this improvement.

Best regards,
[Alami Mohammed]

Liviu Lalescu

Hello!

Thank you! Delete is more complicated, but I added Ctrl+H.

Alami mohammed

Technical Suggestion for Implementing Delete (Supp) Key

Hello Mr. Liviu,

I was thinking about a possible way to make the Delete (Supp) key easier to implement in FET.

Maybe it could be handled in the following way:

1. When the user presses the Delete key, FET first checks if any item is currently selected (activity, teacher, student, constraint, etc.).


2. If something is selected, FET shows a small confirmation dialog like: "Do you really want to delete this item?"

This step would prevent accidental deletions.



3. If the user confirms, FET then calls the same function that is used when clicking the "Remove" button in the interface.



This way, the Delete key would just act as a shortcut to trigger the existing remove function, without changing the underlying logic.

Do you think this approach could make the implementation simpler?

Alami mohammed

Thank you very much for adding Ctrl+H to the TODO list, I really appreciate it!
I understand that the Delete key may be more complicated.

I'd also like to suggest some additional shortcuts for quickly showing the horizontal timetables:

Ctrl+Shift+T → Teachers' timetables (days as rows)

Ctrl+Shift+S → Students' timetables (days as rows)

Ctrl+Shift+R → Rooms' timetables (days as rows)


These would make it much faster to switch between the different horizontal views.

Best regards,
Alami Mohammed

Liviu Lalescu

I meant I added Ctrl+H as Generate multiple in FET, and it works! :)

I will also add your suggestions with Ctrl+Shift+(T,S,R) in the TODO.

I will add your details with Delete in the TODO and I will begin investigating if it is possible now.

Liviu Lalescu

#5
Hello, Mr. Alami Mohammed,

I did "Delete" key and also "+" key (Adding/inserting) in the main dialogs. There is a snapshot: https://lalescu.ro/liviu/fet/download/test/ (or you can see the Snapshots board for the snapshot information). Thank you! Please test and let me know. (also Ctrl+H = Generate multiple.)

Note: when I add in the TODO, it is for the moment too complicated/difficult/impossible. I am examining the TODO list/file from time to time, and think about the suggestions, but there is no guarantee it will be tried/made soon or ever. I saw your post on Facebook that your suggestions are in the TODO and will be added in the next version, but unfortunately this is not correct. I apologize, and I hope you understand.

Do you agree with my idea to also add "+" for Adding?

Liviu Lalescu

#6
I apologize, Mr. Alami Mohammed, but only Ctrl+H will be kept as Generate multiple. I reverted the Delete key's functionality, at the recommendation of a friend. The code is there, but commented/not active. I will think for the future. My friend told me that adding keyboard shortcuts might be hazardous, as users are accustomed that only the mouse will remove/add/etc., and letters are for inputting the names.


Alami mohammed

Hello Mr. Liviu,

Thank you for your clarification. I understand the concern about shortcuts interfering with normal typing. Maybe a good compromise would be to keep these shortcuts but allow them to be optional (enabled/disabled from Settings > Interface), just like the tool tips.

This way, users who prefer the mouse can continue as before, and those who want to work faster with shortcuts (for example: Ctrl+Shift+S for results, T for teachers, R for rooms) can enable them.

Best regards,
Alami Mohammed

Liviu Lalescu

I added your words in the list of suggestions, and will think of them.

Alami mohammed

Hello Mr. Liviu,

I hope you're well.
In the new FET 7.5.2, were the keyboard shortcuts (Ctrl+H, Delete, Ctrl+Shift+T/S/R, and "+" for adding) included?
And is there now an option in Settings > Interface to enable or disable them?

Best regards,
Alami Mohammed

Liviu Lalescu

Hello, Mr. Alami Mohammed,

I am sorry, but I only added Ctrl+H in FET-7.5.2. I did not add the other suggested shortcuts or an option to enable/disable them. I kind of prefer not to add these shortcuts, at least for the moment. FET is operated mainly with the mouse.

Thank you!

Liviu Lalescu

Hello again, Mr. Alami Mohammed,

I added the suggested shortcuts in the new snapshot, FET-7.5.4-snapshot, please see https://lalescu.ro/liviu/fet/download/test/ (for now), or the Snapshots annoucement: https://lalescu.ro/liviu/fet/forum/index.php?topic=6647.0

Alami mohammed

Hello Mr. Lalescu,

Thank you very much for your great work and for adding the suggested shortcuts.
I've just checked them in the latest snapshot (FET-7.5.4-snapshot), and everything looks perfect.
I really appreciate your constant effort and responsiveness!

Best regards,
Mohammed Alami

Liviu Lalescu

Hello, Mr. Alami Mohammed,

Please call me Liviu  :)

You are welcome!

I see you wrote your name "Mohammed Alami" here. In the FET credits I added your name as "Alami Mohammed" some time ago. If you want the first variant ("Mohammed Alami") instead, please let me know.