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

Editing css on android app causes crash. #7838

Open
OrcusLabs opened this issue Feb 16, 2024 · 5 comments
Open

Editing css on android app causes crash. #7838

OrcusLabs opened this issue Feb 16, 2024 · 5 comments
Assignees
Labels

Comments

@OrcusLabs
Copy link

OrcusLabs commented Feb 16, 2024

Problem description

Adding a dash to css line causes the line to be erased. Pasting with a dash can cause android app to crash.

https://drive.google.com/file/d/1L4lpjpjTvAea_AvdOyNrakVW_uCCdz3o/view?usp=drivesdk

Steps to reproduce

Using the supplied c3p:
Edit css file.
Place cursor end of comment line
Press return
If cursor is all the way to the left you simetimes can type font- with no issues.
If the cursor is indented typing font- will erase the line.
If cursor is indented pasting font-size often crashes the app.

Manually create conditions

  1. Create new project
  2. Add css file
  3. Add a class i.e.
  4. .myclass {
  5.       /* comment */
    
  6. }
  7. place cursor at end of comment.
  8. press return to add a new line
  9. try to type font-size
  10. if succeeds, try indenting and typing font-size
  11. should erase line
  12. try pasting orher css. Will either erase or crash.

Observed result

Typing font- in the css will erase that line.
Pasting font-size will often cause the app to crash.

Expected result

Not crash.

More details

Affected browsers/platforms:

First affected release:

System details

@WilsonPercival
Copy link

Your link is closed.

@OrcusLabs
Copy link
Author

Your link is closed.

Found the real problem I think. Edited and new c3p uploaded. Should be available. Let me know if it isnt

@OrcusLabs
Copy link
Author

This error was found as a result of using chat gpt to create the css which comments heavily.

@WilsonPercival
Copy link

After I press Enter I will not be able to type characters. I print and they get erased.

@OrcusLabs
Copy link
Author

Tested in desktop client. Works as expected.

@AshleyScirra AshleyScirra self-assigned this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants