Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] hitting keyboard escape key to exit image preview crashes the web app #2224

Open
1 task done
rezk2ll opened this issue Jan 24, 2025 · 0 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@rezk2ll
Copy link
Member

rezk2ll commented Jan 24, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

when opening an image and clicking on it then hitting the escape key on the keyboard it causes an exception and crashes the application

Pre-Bug State

open image preview in a channel / DM

To Reproduce

  • open channel / DM
  • click on the image to preview
  • click on the image
  • Hit the escape key

Expected results

the app should close the image preview and return back to channel

Context

  • Device: HP-ProBook
  • OS: Ubuntu 22.04.5 LTS
  • Browser: Chrome
  • App Version: 2.6.16
  • Server: staging and linagora.com platforms

Screenshots or Video

Screenshots / Video demonstration
escape.mp4

Image

Logs

Logs
Uncaught Error: Null check operator used on a null value
    at cVr.$1 (keyboard_shortcuts.dart:51:66)
    at io.u (iterable.dart:451:11)
    at Object.dmi (keyboard_shortcuts.dart:55:3)
    at keyboard_shortcuts.dart:135:73
    at cW6.a (async_patch.dart:303:19)
    at cW6.$2 (async_patch.dart:328:23)
    at Object.m (async_patch.dart:233:3)
    at zL.c0N (keyboard_shortcuts.dart:130:5)
    at zL.Lm (keyboard_shortcuts.dart:130:5)
    at tear_off.<anonymous> (js_helper.dart:2388:9)

Additional information

No response

@rezk2ll rezk2ll added the bug Something isn't working label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant