Comments (5)
I've just reviewed the behavior of apps on macOS (like Messages, Bear, Notes, Reminders, Mail) and each app has different behavior for CMD-Backspace, ie.:
- Messages: delete chat (same as BeagleIM)
- Bear: delete note
- Notes: delete line
- Reminder: delete line
- Mail: delete a message in the list view and delete a line in the message entering window
As you can see, CMD-Backspace means delete line or item (ie. note, chat), so usage of CMD-Backspace is correct in this case.
On the suggestion of usage CMD-W to close the chat - it is not how applications behave on macOS. CMD-W means "close the window" not close the chat!
I'm open on other alternatives for a shortcut to close a chat, but for now, closing on CMD-Backspace when the input field is empty looks like a most viable solution.
from beagle-im.
CMD-W is widely used to close tabs, see any browser (safari, chrome, brave), or terminal emulators (iterm2 and terminal.app both). Text editors also do behave like this. VSCode to name one.
CMD-Backspace in Apple Messages behaves exactly as I described it: When a text-entry field is focused, CMD-Backspace deletes the whole lin. It does not close the current chat. Also you've mentioned a few apps that behave like this, i.e. when inside a text entry widget, CMD-Backspace removes a line. IMO that underlines that beagle-im should also remove a line, instead of closing the chat.
More examples are Telegram and WhatsApp.
from beagle-im.
I've double-checked and Apple Messages closes chat (and even deletes the content of the chat) when text field has focus but it is empty and you pressed CMD-Backspace.
Due to that, I'm going to follow what Apple Messages does: if there is a line - remove it, if text filed is empty - close chat.
from beagle-im.
I'm going to follow what Apple Messages does: if there is a line - remove it, if text filed is empty - close chat.
Nice, thank you!
from beagle-im.
It works great thanks for solving this!
from beagle-im.
Related Issues (20)
- notification in MUC HOT 4
- non-smooth scrolling HOT 4
- Relative timestamps incorrect HOT 1
- Crash when disabling account
- MUC-service-given nickname not respected by beagle HOT 2
- Prevent screensaver/suspend during video calls
- Full screen video call isn't closed when the call ends
- Better handle connectivity loss HOT 2
- Disabling ring for unknown callers
- Remove from dock
- Can't receive calls / related to color of dot next to username? HOT 2
- Reproducing audio bug HOT 8
- Will not receive file transfer sent by Adium HOT 1
- hide `From unknown` section from Conversations panel when no messages from unknown exist
- Unread counter in the chat list does not disappear in some rooms HOT 1
- Crash when idling in the background
- video call bug when not having camera permission
- Video calls when the macOS device has no webcam
- backup/restore or migrate settings and content HOT 3
- Problem with displaying user profiles in chat HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beagle-im.