This is a bit hard to explain. Bear with me.
On my Z300M, occasionally the screen starts flashing shortly a screen image from another app. It looks as if the app made a screenshot and that this screenshot is repeatedly shown, even though the app is no longer active.
For example, I've been looking to a television program using the (dutch) NPO Start app. I terminate the app and go to the home screen. Suddenly
a screenshot from the NPO app is shown, disappears after a second, reappears after a short while (10-20 seconds) etc. When the screenshot is shown the display is still sensitive to the buttons and icons of the home screen so it is clearly a video problem.
Only a reboot solves it.
Anyone any ideas what could be going on?
Related
Hi,
I have an application which has been running nicely on Harrier and iMate devices, well any PPC devices really because of their rectangular screen shape.
My client has gone and bought some Palm Treo 700wx devices, and they have a smaller square screen.
In the resource of my project the screens are designed to fit PPC. When it runs on the Treo the Treo automatically pops up a scroll bar to allow the whole view to be seen.
The issue is when I first go into the app I can't see the top of the screen, about 20 odd pixels heigh aren't displayed. The scroll bar still displays and I can scroll down to the bottom of the view, and when I scroll up again the top of the screen is still out of sight.
If I exit the app just by tapping on the x in the top right corner (so the app is still running, not exiting properly via my Exit button which shuts down the app), I exit the app and then when I go back into the app the screens are displayed correctly, there is no missing space at the top of the screen.
If I exit the app via my exit button and then start the app again, the top of the view is missing again.
Does anyone know why the screen isn't displayed correctly when I first enter the app, or why it should come right when reloading the view again? Has anyone else had problems with screen layout when putting PPC apps on the square Treo 700wx?
Thanks
It sounds like you have a 'refresh' problem. I haven't encountered this my self and it is really hard to diagnose when you don't even tell us what language your app is written in, but basically here is what I think happens:
When your app is launched, part of its window doesn't get properly painted (not sure why exactly).
When you click the X the app isn't closed, but minimized.
When you return to it the window is maximized and repainted. Second repaint goes correctly.
The quick solution to this would be to force a window refresh just after the app is fully started.
Sorry I forgot to add the language.. it's written in eVC++ 3.0
I'll give the refresh a go, thanks
Further Questions..
I thought that minimising and then maximising the screen fixed the problem, but only partially..
Because the screen in resource is designed for regular PPC it is bigger than the Treo 700 screen size, so the OS automatically shows a scroll bar.
The new issue I'm seeing is to do with the scroll bar. The steps I take to reproduce the issue are:
1. Go to View1, and I scroll down the view (I'm using CView not CDialog)
2. Go to View2
3. Go back to View1. When I go back to the first view the scrollbar is scrolled down in the position I left it.
4. Scroll up to top of view and some of the controls in the wrong place. Some controls I dynamically create in OnInitialUpdate, and as part of the Create() I pass in CRect to tell it where to create the control.
If I set CRect.top to say 10, it's created 10 down from the top of the visible screen. The problem is that because I've scrolled the view previously the view draws it 10 down on the visible portion of the view.
I had thought that the easiest solution would be to always reset the scroll bar to the top of the view before creating my controls, but I'm not sure how to force the OS scroll bar to the top of the view. I've tried SetScrollPos(0,0) or ScrollWindow(0, y). ScrollWindow moves the actual view up or down, but the OS scrollbar is still in the same position.
Any ideas on how to set my view window to the top and to reset the scrollbar?
Thanks again
How to refresh a view?
I have sorted the issue mentioned just above, by finding the scroll position and factoring in that when I set the value of CRect area of the controls I need to dynamically draw.
I'm now just left with the first issue, of when I first start up the app the top part of the window and scrollbar are covered by the Title/Taskbar at the top of the screen.
If I close the app via the x button and restart the app, the issue resolves itself. Or if I open up any dlg like the About screen or even display an AfxMessageBox, when I close the dialog the original screen is redrawn correctly, in the correct position and scroll bar fully shown.
I have tried calling RecalcLayout(), RefreshWindow(), UpdateWindow(), Sending WM_SIZE messages and a whole range of things, but I can't seem to get the screen refreshing correctly apart from when I open any dialog and close that dialog.
When you close a dialog what messages get sent to the previous view that force it to redraw? Does anyone have any suggestions how I can force a refresh myself?
Thanks again
Did you try InvalidateRect?
I am getting a bit rusty with MFC, since I now try to do things the hard way and use pure win 32, but this should work.
If you can't use it as a class member, call the API directly using you view GetSafeHwnd() function for window handle). Use NULL for lpRect to redraw the whole window and FALSE for bErase to prevent flickering.
Note that UpdateWindow() only triggers repaint if part of the window becomes invalid (the contents needs redrawing).
No I hadn't thought of using InvalidateRect(), so I should give it a go.
In the end I just wanted the issue fixed so opted for a quick 'n dirty solution of displaying a temp CDialog as soon as the app starts and calling EndDialog() immediately in the OnInitDialog() so the dialog disappears before you see it.
It worked and the original screen gets updated to correct size, layout and scroll bar.
Cheers.
To begin, I'm new to Honeycomb and he Asus Transformer. (Not new to android however.)
Every once in a while the "tron-like" screen transition will turn yellow on one of my screens. Most often it happens to the one just to the right of the center screen. It comes and goes at random and a reboot always turns it back to blue. To better explain I attached a photo below.
So what's happening here? Does it indicate something I'm not aware of? If it's something widely known and normal I'd feel foolish. I also tried a search on this forum and google but found nothing about it.
when you add an app or widget to the screen the screen you put that app or widget on turns that colour to show that it is selected but there is a bug in the code that does not change it back sometimes. to fix it just force quit the browser or reboot
Also im noting that you are using a third party screenshot app if you go into settings and hit screen then check the screenshot button it will allow you to take screenshots by holding the multitasking key also if you have the dock the button where F8 should be (the rectangle and camera) that will also take a screenshot
Thanks for the info. It's odd though, it just does it randomly, never when I add an app or widget.
Also thanks for the tip about the screenshot being native. I thought I saw that option somewhere.
cesjr02 said:
Thanks for the info. It's odd though, it just does it randomly, never when I add an app or widget.
Also thanks for the tip about the screenshot being native. I thought I saw that option somewhere.
Click to expand...
Click to collapse
I've noticed this too. good eye! rotate portrait and back, and it stops... weird.
This has happened twice today. I am using the phone and the voice typing display will not go away. I can use the phone.. .i can go to the homescreen, open apps, look at settings, etc, but i cannot close the voice prompt, and i can't use it.
It essesentially makes the phone useless until i reboot.
I am not sure why it is doing this. Not rooted nor unlocked or anything.. just stock.
The other thing it is doing is that sometimes when i wave my hand over the screen i will see the unlock screen. it will have the time and a lock icon below it ... if i touch the lock icon, it moves to a lower (on the screen) position and when i re adjust to hit the lock again it moves back up. Not sure how to screen shot this... maybe a video from a different phone.
when this happens, it will unlock by pressing the power button. I think this has something to do with the smart lock. DAMN google for forcing you to have a lock when you use Android Pay. Never had this problem on my Note 4 with Wallet.
Anyway, any help on either of these bugs would be appreciated
ok, i can reproduce the bug.
can someone else try this to confirm?
- with the phone screen off have someone send you a text message.
- swipe up directly to messages. ( use the google one, but i am not sure if it matters.)
- reply to the message with a google voice typing
- hit the power button to turn off the screen.
- Have the person text you again.
- open message by swiping up to it.
At this point the tap to speak screen will be there and not go away until you reboot.
no one else?
here is a video showing the problem I can't believe I am the only one experiencing this
https://dl.dropboxusercontent.com/u/11731783/20150929_123443.mp4
crash613 said:
no one else?
here is a video showing the problem I can't believe I am the only one experiencing this
https://dl.dropboxusercontent.com/u/11731783/20150929_123443.mp4
Click to expand...
Click to collapse
I can try it when I get my phone, but that's a few weeks away...
from time to time I got my backscreen all black, mirroring still works but unable to bring back the widgets, usually I restarted the device to recover but now I have found a much more simple solution, just launch the tutorial, and the widgets are back !
hi, i have the same problem, currently running Lollipop.
I've find out that when this happens you can "refresh" the backscreen by launching the YotaHub app and do a long press on the home button, then swipe to the refresh icon on the left.
Still don't know what causes this issue
LG-H918, been a great phone. Not rooted, all original.
As of today (first I noticed) when you touch the recent apps square, the various apps appear, and you can scroll through them. Each time I attempt to select whichever app, the phone blanks very quickly and returns to the home screen.
I can clear the apps in the recent apps screen by swiping and using the x.
If I try split screen on apps that are able to use it, the first app appears at the top, and when I try a second, the second blanks and the home screen appears on the bottom half. I then can expand the upper app to fill in the whole screen.
I've repeatedly restarted the phone, and also shut down and removed the battery. No effect.
Is there a setting or something I may have done to cause this?