[bug] Screen protection doesn't work in 2.0.5
I tested the screen protection feature in an earlier version - probably 2.0.4 - and it worked as expected. Now it doesn't protect from screenshots, no matter if it's checked or not.
I'm running a custom Android 4.4 ROM. If you need any further details to resolve this, I'll do what I can to provide additional information.
I attached a log, during which I changed the setting and took screenshots both with and without the option checked. But it looks like this didn't make it into the log at all. http://hastebin.com/jenuxugabu
The same here.
Works for me on CM 11 Nightly. When the task switcher shows a black preview, the Screenshot won't get saved. Neither with stock Screenshot nor with Screenshot Ultimate App.
Running on Android 4.1.2 with the Producer firmware, everything seems fine. If I try to make a screenshot, a notification tells me, that it's not possible.
No repro for me either, seems to work fine. What Activity were on on when you tried to take the screenshot? From your logs it looks like ConversationListActivity, just like to confirm.
@leandrosalvador could you tell us which Android version and ROM you are using?
@mcginty Yes, but I also took screenshots right from the settings menu. I just tested other places, like single conversation threads, but I can take screenshots whereever I want. The preview is also not blacked out, no matter where in the app I am.
My custom rom is OmniROM nightly. For good measure I also rebooted, but the behaviour persists.
I can't reproduce this, screen locking works as expected on 2.0.5 on stock Android 4.4. However, I discovered another 'problem' related to it.
Even when turning off screen lock, the conversation overview remains locked. This itself wouldn't be a big deal, I mean who wants to screenshot this area of the app, but in cooperation with a screen sharing app like BBQScreen this makes the app impossible to operate from remote.
Apart from pure lazyness this could also be a show-stopper when considering talks where the app could be presented (e.g., crypto parties).
@shaaati I also can't reproduce. This was a problem in 2.0.4, but fixed in https://github.com/WhisperSystems/TextSecure/commit/278220cf (2.0.5). Have you upgraded to the latest version?
Motorola MB525 Android 2.3.7 CyanogenMod 7-20121008-UNNOFICIAL-jordan Gingerbread TextSecure 2.0.5
Is it enough @generalmanager?
In time, take a look at settings:
Screen security --> positive mode Disable screen security to allow screen shots --> negative mode
Wouldn't it be better if both phrases be in positive mode, avoiding ambiguous interpretations about what really means to check this option? My suggestion:
Enable screen security to avoid screen shots
In doubt, I made tests with this option checked and unchecked. In both cases screenshots were done.
@leandrosalvador !hanks for adding the information! I agree - it's confusing that the meaning is inverted for the screen security setting.
@mcginty Yes I have upgraded it. Strange thing is.. today I can't reproduce it either. This might be related to having the phone restarted in between. After I unchecked the "screen lock" option I was able to take screenshots from conversations as expected but the overview screen didn't work. Now I can both take screenshots and see the screen from remote as I would expect it. Whatever it was, it solved itself.
@leandrosalvador the secure feature of a window was added in Android 4.2. We should hide that preference for < API 17 since it's useless. Thanks for posting the debug info!
@mcginty Thanks for clearing that up. So I appear to be the only one here with a current Android version with this bug. It's probably not as uncommon as it seems to be tough, because it's not something you would notice in day to day use.
If there is anything else I can do to help you reproduce this, just let me know.
edit: just wanted to add that this didn't magically disappear on my 4.4 device after the 2.0.6 update :-/
I can't explain why the 2.0.6 update would have changed much, but if nobody is able to reproduce this any more we should probably close it until we see it happen again. @generalmanager if you can still hit this issue, feel free to reopen :).
I wanted to update this yesterday but forgot to do so. I tested this repeatedly since I experineced it the first time and yesterday it started working again o_O That was also the first test after the 2.0.7 update. I can't idntify any commit to be responsible tough, doesn't look like they have much to do with this setting. But it's all fine and dandy, atm so no worries.