khotkeys: TCC crashes when deleting an action already created #401

Open
opened 7 months ago by MicheleC · 2 comments
Owner

Steps to reproduce.

Good case

  1. open TCC and go to Regional & Accessibility -> Input action
  2. create a new action, rename it (for example test) and apply.
  3. delete the action --> all works fine.

Bad case (SEGV)

  1. open TCC and go to Regional & Accessibility -> Input action
  2. create a new action, rename it (for example test) and apply.
  3. go to the Conditions tab, click New -> Active window and enter some name (for example test). Click Apply.
  4. Navigate to another TCC module and back to Regional & Accessibility -> Input action (or close and reopen TCC).
  5. delete the action --> TCC crashes with SEGV

The key point is 4., so there must be something wrong in the save/reload process.

Steps to reproduce. Good case 1. open TCC and go to `Regional & Accessibility` -> `Input action` 2. create a new action, rename it (for example `test`) and apply. 3. delete the action --> all works fine. Bad case (SEGV) 1. open TCC and go to `Regional & Accessibility` -> `Input action` 2. create a new action, rename it (for example `test`) and apply. 3. go to the `Conditions` tab, click `New` -> `Active window` and enter some name (for example `test`). Click `Apply`. 4. Navigate to another TCC module and back to `Regional & Accessibility` -> `Input action` (or close and reopen TCC). 5. delete the action --> TCC crashes with SEGV The key point is 4., so there must be something wrong in the save/reload process.
Collaborator

Possibly related to/a duplicate of #162?

Note also #160 and #161. These two are minor, but show there's more than just one bug in that module.

Possibly related to/a duplicate of #162? Note also #160 and #161. These two are minor, but show there's more than just one bug in that module.
Poster
Owner

Perhaps, thanks for pointing that out. Will keep this in mind when I look into this.

Perhaps, thanks for pointing that out. Will keep this in mind when I look into this.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdebase#401
Loading…
There is no content yet.