Alt+D tries to delete a post

AI-generated summary

A bug in Discourse was reported by carlokok where using Alt+D on a post would trigger deletion, as it also activates the address bar in Firefox. vinothkannans found that other post shortcuts, such as bookmarking and editing, were also firing with the Alt combo. The issue was acknowledged by sam and subsequently fixed by vinothkannans as per the commit.

Using alt+d (go to address bar in Firefox) on a post when the post itself is active will also trigger a delete. Can I disable this somehow?

3 Likes

@vinothkannans what is going on here?

1 Like

I’m checking it. All the post shortcuts like b (bookmark post) and e (edit post) are also firing with alt combo.

2 Likes

Ouch we should fix this globally then, good catch.

5 Likes

It is fixed as per commit

https://github.com/discourse/discourse/commit/f896d6b0219f949e9890bddb43028328dc9860bf

7 Likes

This topic was automatically closed after 6 hours. New replies are no longer allowed.