The crash app during the photo submission process changes the screen rotation to landscape mode by rezamusic

View this thread on steempeak.com
· @rezamusic ·
$15.03
The crash app during the photo submission process changes the screen rotation to landscape mode
#### Project Information
* ###### Repository : https://github.com/chat21/chat21-android-demo
* ###### Title App : Chat21
* ###### Publisher App : Fontiere21 S.R.L

***

#### Expected behavior
Supposedly, The application does not crash, when the process of sending photos in landscape mode.

#### Actual behavior
The application crashes, when the process of sending photos in landscape mode.

#### How to reproduce
1. Instal App [here](https://play.google.com/store/apps/details?id=chat21.android.demo)
2. Run the app.
3. Sign in on chat feature
![Screenshot_2018-05-25-01-16-11-854_com.whatsapp.png](https://cdn.steemitimages.com/DQmPTZNyuwKrrcsZveKSfkzJWowCH5cYcNekHW9nqexihnM/Screenshot_2018-05-25-01-16-11-854_com.whatsapp.png)
4. Select the contact you want to send the image to.
![Screenshot_2018-05-25-01-16-18-736_com.whatsapp.png](https://cdn.steemitimages.com/DQmbESi5h1ordRCU5kBUmfCiWbR9BJYWevobGc2R9KFza9P/Screenshot_2018-05-25-01-16-18-736_com.whatsapp.png)
5. Click and hold in the right corner.
![Screenshot_2018-05-25-01-16-23-289_com.whatsapp.png](https://cdn.steemitimages.com/DQmcjPfCrp2knsBCS6nJUuQao8P8qTU4u7gGDtHCMV8eumj/Screenshot_2018-05-25-01-16-23-289_com.whatsapp.png)
6. Click on "image writing" to access the gallery.
![Screenshot_2018-05-25-01-16-27-672_com.whatsapp.png](https://cdn.steemitimages.com/DQmZbgZcxK1vFTRxMhExvsS6iXk2NeS6Tz1dYsQEw24Bz3y/Screenshot_2018-05-25-01-16-27-672_com.whatsapp.png)
7. Select the picture you want to send.
![Screenshot_2018-05-25-01-16-31-095_com.whatsapp.png](https://cdn.steemitimages.com/DQmRCFqYxG1ngQsBpZVzFCxPR8KY7FML5UJ8GrLCFbK2oFx/Screenshot_2018-05-25-01-16-31-095_com.whatsapp.png)
8. Click on "Ok" to approve the image submission.
![Screenshot_2018-05-25-01-16-33-917_com.whatsapp.png](https://cdn.steemitimages.com/DQmUpchQeC1p4zApuzpquWmhs2vvrhTLJPUirvzVo8Czpt5/Screenshot_2018-05-25-01-16-33-917_com.whatsapp.png)
9. After approving the image submission.protect screen rotation changes to landscape mode, the application will crash.
![Screenshot_2018-05-25-01-11-25-326_chat21.android.demo.png](https://cdn.steemitimages.com/DQmNiM4b9BLtnTyMh2dnGp5pb2m8xuNHUohbPm6tbEtPsfz/Screenshot_2018-05-25-01-11-25-326_chat21.android.demo.png)

***
***

#### Environment
* ###### Device : Redmi Note 5A
* ###### System Operating : 7.1.0 Nougat
* ###### App Version : 1.0.9

***
***

#### <center>Recording Of The Issues</center>
https://youtu.be/9ZiJaDSRiC4

***

#### Logcat
```
05-25 01:39:17.207 14985 14985 E AndroidRuntime: FATAL EXCEPTION: main
05-25 01:39:17.207 14985 14985 E AndroidRuntime: Process: chat21.android.demo, PID: 14985
05-25 01:39:17.207 14985 14985 E AndroidRuntime: java.lang.IllegalArgumentException: View=DecorView@26c0a11[] not attached to window manager
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:479)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:388)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:126)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.app.Dialog.dismissDialog(Dialog.java:373)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.app.Dialog.dismiss(Dialog.java:356)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at org.chat21.android.ui.messages.activities.MessageListActivity$10.onUploadSuccess(MessageListActivity.java:712)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at org.chat21.android.storage.StorageHandler$2.onSuccess(StorageHandler.java:130)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at org.chat21.android.storage.StorageHandler$2.onSuccess(StorageHandler.java:122)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at com.google.firebase.storage.zzj.zzi(Unknown Source)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at com.google.firebase.storage.zzaa.run(Unknown Source)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:754)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:95)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:163)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:6361)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
05-25 01:39:17.207 14985 14985 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
```

#### Proof Of Work Done
###### [Submit in github](http://www.github.com/rezamusic881)
###### [Problem Report](https://github.com/chat21/chat21-android-demo/issues/12 )
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 12 others
properties (23)
post_id50,125,188
authorrezamusic
permlinkthe-crash-app-during-the-photo-submission-process-changes-the-screen-rotation-to-landscape-mode
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "format": "markdown", "image": ["https://cdn.steemitimages.com/DQmPTZNyuwKrrcsZveKSfkzJWowCH5cYcNekHW9nqexihnM/Screenshot_2018-05-25-01-16-11-854_com.whatsapp.png"], "tags": ["utopian-io", "bug-hunting"], "links": ["https://github.com/chat21/chat21-android-demo", "https://play.google.com/store/apps/details?id=chat21.android.demo", "https://youtu.be/9ZiJaDSRiC4", "http://www.github.com/rezamusic881", "https://github.com/chat21/chat21-android-demo/issues/12"]}"
created2018-05-24 18:55:09
last_update2018-05-24 18:55:09
depth0
children4
net_rshares4,030,950,084,360
last_payout2018-05-31 18:55:09
cashout_time1969-12-31 23:59:59
total_payout_value12.046 SBD
curator_payout_value2.982 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,913
author_reputation4,823,178,482,239
root_title"The crash app during the photo submission process changes the screen rotation to landscape mode"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (76)
@steemitboard ·
Congratulations @rezamusic! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/comments.png)](http://steemitboard.com/@rezamusic) Award for the number of comments
[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/commented.png)](http://steemitboard.com/@rezamusic) Award for the number of comments received

Click on any badge to view your Board of Honor.
For more information about SteemitBoard, click [here](https://steemit.com/@steemitboard)

If you no longer want to receive notifications, reply to this comment with the word `STOP`

**Do not miss the [last announcement](https://steemit.com/steemitboard/@steemitboard/steemitboard-new-level-notifications) from @steemitboard!**

> Do you like **SteemitBoard**'s project? **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
πŸ‘  
properties (23)
post_id50,330,245
authorsteemitboard
permlinksteemitboard-notify-rezamusic-20180526t031550000z
categoryutopian-io
json_metadata"{"image": ["https://steemitboard.com/img/notify.png"]}"
created2018-05-26 03:15:48
last_update2018-05-26 03:15:48
depth1
children0
net_rshares102,929,967
last_payout2018-06-02 03:15:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length1,006
author_reputation38,705,954,145,809
root_title"The crash app during the photo submission process changes the screen rotation to landscape mode"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@fego ·
Hi @rezamusic, thanks for making this submission. This is reproducible, thanks to your very concise and detailed steps. It is however considered trivial to Utopian and the open source community. 

Your device is not an ipad or tab that requires you to perform all operations by first rotating. I advise that you concern your future contributions with features and functions that affect the general usability or a function working contrary to how it is expected or implemented to.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/5/4243124).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
properties (22)
post_id50,383,097
authorfego
permlinkre-rezamusic-the-crash-app-during-the-photo-submission-process-changes-the-screen-rotation-to-landscape-mode-20180526t132114949z
categoryutopian-io
json_metadata"{"links": ["https://review.utopian.io/result/5/4243124", "https://support.utopian.io/", "https://discord.gg/uTyJkNm", "https://join.utopian.io/"], "tags": ["utopian-io"], "users": ["rezamusic"], "app": "steemit/0.1"}"
created2018-05-26 13:23:45
last_update2018-05-26 13:23:45
depth1
children1
net_rshares0
last_payout2018-06-02 13:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length779
author_reputation168,957,617,866,077
root_title"The crash app during the photo submission process changes the screen rotation to landscape mode"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@rezamusic ·
Thank you @fego
properties (22)
post_id50,384,266
authorrezamusic
permlinkre-fego-re-rezamusic-the-crash-app-during-the-photo-submission-process-changes-the-screen-rotation-to-landscape-mode-20180526t133419324z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "users": ["fego"], "app": "steemit/0.1"}"
created2018-05-26 13:34:21
last_update2018-05-26 13:34:21
depth2
children0
net_rshares0
last_payout2018-06-02 13:34:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length15
author_reputation4,823,178,482,239
root_title"The crash app during the photo submission process changes the screen rotation to landscape mode"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey @rezamusic
**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Contributing on Utopian**
Learn how to contribute on <a href='https://join.utopian.io'>our website</a> or by watching <a href='https://www.youtube.com/watch?v=8S1AtrzYY1Q'>this tutorial</a> on Youtube.

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id50,383,270
authorutopian-io
permlinkre-the-crash-app-during-the-photo-submission-process-changes-the-screen-rotation-to-landscape-mode-20180526t132508z
categoryutopian-io
json_metadata"{"app": "beem/0.19.29"}"
created2018-05-26 13:25:09
last_update2018-05-26 13:25:09
depth1
children0
net_rshares0
last_payout2018-06-02 13:25:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length506
author_reputation152,913,012,544,965
root_title"The crash app during the photo submission process changes the screen rotation to landscape mode"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000