I recently switched to Firefox and now when I open up a second window I do not have the option to resize, expand full screen, or "x" out of it. Is this Firefox or a setting I may have changed not knowing that I did?
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.
Hi everyone,
i think thread title says it all...
I already hated this stupid mobile view of websites in my Android smartphone.
Now it sucks even more on my tablet. i want to see webpages in desktop view style. I have found no way to change that in the stock browser.
Only in the Dolphin HD browser I an choose wether I want mobile or desktop views of website. And it even works. But actually I would prefer the stock browser.
Thank you.
Jarjar
Jarjar72 said:
Hi everyone,
i think thread title says it all...
I already hated this stupid mobile view of websites in my Android smartphone.
Now it sucks even more on my tablet. i want to see webpages in desktop view style. I have found no way to change that in the stock browser.
Only in the Dolphin HD browser I an choose wether I want mobile or desktop views of website. And it even works. But actually I would prefer the stock browser.
Thank you.
Jarjar
Click to expand...
Click to collapse
Try This:
1. Open the Android Honeycomb browser on your tablet.
2. In the address bar, type: about:debug and press enter (it will appear that nothing changed).
3. Now open the browser's settings by tapping the icon in the very top-right corner of your screen (it looks like four horizontal lines) and selecting "Settings" from the drop-down menu that appears.
4. On the left side of the screen, tap the section labeled "Debug."
5. On the right side of the screen, tap the item labeled "UAString," then select "Desktop."
6. Press the back button (in the very bottom-left corner of your screen) to exit the browser's settings.
7. In the browser's address bar, type: about:debug once more; this will disable debugging mode and return the browser to its normal state.
That should make it load the "desktop" versions of websites for you!
any chance of getting this change to stick? It seems that I have to change this every time I start the browser.
lewdog50 said:
any chance of getting this change to stick? It seems that I have to change this every time I start the browser.
Click to expand...
Click to collapse
You change this once and then the change wil persist
only sticks until you reboot,kind of annoying wish someone could write a script or something to automate this.
Sorry but either will lose setting periodically for no apparent reason. Absolutely needs to be automated.
i would love this too..
Hi,
I just instapp Win 8 cp on my Dell Latitude XT, and it seems to work pretty well.
A stupid thing I did - I removed the tile in the start screen for the immersive/metro IE, on the assumption that it would be easy to put it back, but I have no idea how to do that... Uninstalling ("turn windows features on/off") and reinstalling IE didn't help.
Any tips... ?
Thanks!
Try putting your mouse in the upper right hand corner of your screen to access the hidden sidebar. Click the search icon to access your total apps list. You should see the IE icon. Right click it to bring up your action bar at the bottom of the screen. You can repin the app to the start menu from there.
Hope that helps!
GL HF
Nope, doesn't show up there. I deleted the tile from the start screen, so then it shouldn't show up there, should it? Accessing searching through applications like this, it isn't different from just typing on the start screen, is it? I have icon there that I created later for the desktop IE, but none for Metro IE (immersive). I do have Firefox as my default browser though, that might complicate things...
Just set IE as default browser and Metro IE will be back.
You can set default program for webpage as the Firefox in "Set Default Program" (by click "Choose defaults for this program" button)
Nope, that didn't work either...
Hey so i'm oldfashioned and I like to use google chrome for all my browsing needs. The problem is, whenever the touchscreen keyboard comes up, it resizes whatever window I'm using to half the size. How do I stop this from happening?
Also, when I have the dock in, it still brings up the touch keyboard when I touch on a text box. Is there a way I can stop that from happening too? It's a really annoying process to click a text box, close the keyboard and then resize the window every time I want to type.
I assume you are talking about while you are on the desktop.
Click the maximize/windowed button (beside the Quit X) and it will turn in to a floating window instead.
Previously when I am in Gmail & I click on a link from an email, it opened Chrome browser in multi window mode.
Now it closes Gmail & opens Chrome in full screen mode.
To get back to multi mode, I have open the little tab on the side of the screen & pull it back to make it half Gmail /half chrome.
What's going on?
settings/device/multi window make sure "open in multi window view" is marked
pete4k said:
settings/device/multi window make sure "open in multi window view" is marked
Click to expand...
Click to collapse
It's already enabled.
It works with other apps though.