Win RT phone 8.1: Unspecified Error while changing Device Orientation - windows-runtime

I have a page in my app for OCR and when navigating to that page I change my orientation to landscape and when coming back i change it to portrait.
It was working fine before some days but now it is crashing stating only unspecified error. I started commenting my code and came to know that when this line of code is present my application crashes otherwise not.
DisplayInformation.AutoRotationPreferences = DisplayOrientations.Portrait;
I have two more pages with same functionality, same code is working on these pages. I know this is very little knowledge that I am providing but I even don't know what else I can provide. You can ask anything which can help.

Related

Html input of type "file" freeze the browser sometimes

i'm struggling with the classic HTML input of type file. I was using it on my angular application and i had freeze sometimes, the whole browser became unresponsive, and the only thing that works is the scroll.
You can't click any buttons, select any text or even change tab on the browser for about 5 seconds. I tried a lot of different file type and sizes and it doesn't change any of this, it even freeze sometimes when i don't select any file in the explorer and i click the close button directly.
So I thought it was my implementation that was bad and i went to the Mozilla developper website where you have an example and I have exactly the same behaviour. I also tried to take only the HTML from the Mozilla website and put it alone on a .html file and again, same behaviour.
This does not occur 100% of the time, but I would argue that on my end it does it about 60/70 % of the times.
I tried it on chrome and Firefox (both up to date), on multiple computer (all running Windows though) and i have the same behaviour on all of them.
I don't have any error or anyting in the consoles.
I don't know what to do with this, i'm pretty sure it can't be the file's input on the whole web that are bugged, but i tried a lot of various things with always the same results. Should i report it somewhere? ( if so, where? ) Or what would you suggest to do to investigate this further?
I couldn't find anyone discussing this issue on the internet apart for this thread that had no solution, they also say in this thread that the bug is not reproducible in Edge, but i just tried and it does the same thing.
Thanks for reading me and for any help about this.
Chrome freezes for few seconds when after any use of file field.
It was because I had a shortcut in "Quick Access" menu in windows explorer. This shortcut has been linked with a folder shared by network. I've removed this shortcut and everything is good now.
Same here, I have a mapped network drive that is not responding, this make a 5 seconds delay. After unmapping the drive, no more delay. The delay is the same in firefox or chrome.
Same here, if you want to remove it, on Windows 10, click on the icon Quick access (blue star), then right click on the dead link appearing in the "Frequent folders" panel on the right panel and choose "Unpin/Remove from Quick access". There should be no error message.

Error opening up facebook live. Works on other accounts

Hi all,
I am looking to record a live stream/video post on Facebook. I can see the 'Live' button when posting. Once clicked it takes you to this page (see screenshot) then gives this error "something went wrong, but we're working to fix it as soon as we can". Been like this for 2 days now.
This happens in Chrome, Edge and on Iphone. I can record a live stream using other facebook accounts on these formats though. I am using windows 10 if that helps?
The page address is takes you to is:
https://www.facebook.com/live/producer/?target_id=100050905598457&source=CAMERA&entry_point=feedx_sprouts
I know it's not specifically a programming issue, however I wondered if any coders could decipher what issues there may be. The only difference I can see is that the working account has upgraded to the 'new' facebook layout. Unfortunately, I can't update the facebook account I need to actually stream from yet, as facebook are still rolling this out.
Many Thanks

Web pages in CHtmlView with high dpi (150%) display incorrectly

Problem
I'm having the problem for days and haven't found anyone else mentioned it..
The issue is that when I set the system dpi scaling to 150% or above, some webpages I open in CHtmlView would be messed up, while using IE or Chrome not causing the same problem.
Context
It seems like in CHtmlView the fonts get bigger than it's needed. I figured out this situation happens if my program's "high DPI-aware" property is set. But I can't turn it off either because the webpage would be blurry.
The strange part is when I tested msdn or google paged in CHtmlView, they neither caused the problem nor scale 150%. They just displayed as the 100% one.
Not sure if I should do something to my program or the webpage. The webpage needed to be displayed in my program is also from my company, so if I know what to set in the webpage I could handle it.
Thank you :)
Edit:
Because the website I'm having problem with is a private site, so I use another page to explain the situation.
Webpage in HtmlView, seem like only fonts get bigger.
Webpage in IE
I'm here as I've got the same problem.
You can create a new VS2017 MFC project, derive a view from CHtmlView, you'll find this in the constructed code
void CMFCApplication4View::OnInitialUpdate()
{
CHtmlView::OnInitialUpdate();
Navigate2(_T("http://www.msdn.microsoft.com/visualc/"),nullptr, nullptr);
}
(Note I had to delete the two trailing nullptr arguments to get it to compile)
My application manifest lists the app as being High DPI Aware and I've got a 200% (192dpi) scaled monitor.
The web page that loads is tiny (unscaled).
zett42's answer (Aug 31 '17 at 14:39) is correct. Add the registry key indicated, using
Computer\HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
MFCApplication4.exe=11001 [your application name here].
Restart the app, hey presto everythin is correctly scaled.
Dunno why I can't upvote zett42.

iOS 9.2 breaks app protocol handling

I have a link in my app that points to an app protocol of type myProtocol://". Until a few days ago this was working completely fine, whenever you clicked on the link, the native app would open.
However, iOS9.2 seems to have broken this. Now what happens is when the links is clicked, I get a prompt to open the native app which disappears after roughly 1 second, not even close to giving the user enough time to access. Shortly afterwards I get prompted to go to the App Store to the app's page.
Any idea why this is happening and what changes in iOS9.2 that is causing this would be helpful.
It seems that with iOS9.2, Apple is making a move towards Universal Links and traditional deeplinking is not supported anymore. While I was not able to find any information published direct on iOS9.2 release notes, following links indicate the same:
https://blog.branch.io/ios-9.2-redirection-update-uri-scheme-and-universal-links
https://www.adjust.com/overview/features/2015/12/11/ios-9-2-deeplinking/

Chromecast displays web page without any device connected to it

I was wondering if somebody could tell me if the chromecast allows to display a webpage through chrome tab mirroring with the computer shutdown.
I would like just to tell the chromecast to display a specific webpage and then shutdown my devices and let the screen display that page and refreshing it every X min.
Do you know if it's possible ?
Thank you.
If it is mirroring, no, you won't be able to do that since when you shutdown your computer, everything is gone, and there is nothing to mirror (remember, you are not telling it to show the content of a page, you are telling it to "mirror" your screen and chromecast doesn't have any clue what that content is). You should write a sender and receive app to accomplish that. Also think about user experience: how does user stop that process?