Designer preview is invisible in Visual Studio 2013 and Blend 2013 - windows-phone-8

This happens in both VS and Blend 2013, with the WP and Windows designer (no appbar on this page and application title on other default pages, no matter what controll I add to the page, it's selectable but not visible on either app).
Can't find answers on Google or SO as there are no errors as with similar situations.
If anyone has encountered the same problem and managed to fix it, I would appreciate it.
PS: PC was recently formatted, only added to VS Resharper and the MVVMLight extension, if it helps.

Related

Black screen in chrome after sleep

I'm experiencing black screen in google chrome (and a lot more...read below) after waking windows 10 up from sleep mode.
This issue appears in google chrome and all derived applications, in few words I'm experiencing this in:
Google chrome Version 80.0.3987.149 (pretty sure i was having this issue also before)
The new Microsoft Edge browser based on chromium
All the pwa (progressive web apps) installed with chrome or edge
All electron applications like:
Visual Studio Code
Whatsapp
All the Electron applications made by me.
I had this issue for a long time but the spreading of chrome based services is going to make this thing a lot annoying...
I'm using Windows 10 1909 home 64 bit (pretty sure I was having this issue also in windows 10 1903)
WORKAROUND: if in google chrome (or edge chromium) i keep a tab that in the closing prompts a javascript alert, in the moment when the alert is prompted, the issue is gone, the black screen is gone and i can return to see the whole tabs.
So after waking up windows 10 from sleep mode, if i see black screen in the browser i can just close it with the cross in the top right corner, in that moment the alert is prompted "are you sure to leave this page?", i answer "no i want to stay in this page" and the issue is gone.
Of course this is a workaround cause you can forget to keep that site in the tabs of chrome/edge, and this doesn't resolve the issue in visual studio code.
Starting google-chrome with the --use-gl=desktop seems to work with no side effects.
I had same issue with Fedora, Chrome and NVIDA drivers. At first I tried enbling the vulkan flag.
Go to chrome://flags and enable ignore-gpu-blacklist and enable-vulkan. However, Chrome performance suffers and others have pointed out with this settings.
Found the vulkan tip in a comment here. The use-gl-desktop tip here

What makes Windows Phone 8 Internet Explorer truncate html?

I'm making a webapp which recently broke on Windows phone 8.
https://marvin-brouwer.github.io/QR-Reader/
I've also tried the app on an Ipod Touch 3rd generation, an iPhone 4s and a Samsum Galaxy. The app works as expected on those devices.
To find out why it doesn't show what I expect I attached to my Nokia Lumia with Visual Studio which revealed the html being cut off.
I tried deminifying my html but it just gets cut off at a different part.
Is there any reason why this might happen? And is there a way to fix this? Or might this be a Windows Phone bug?
You have a html comment before the doctype which causes IE to go into quirks mode.
Also you have a xml comment which should be removed, this is html not xml.
More info: https://www.sitepoint.com/community/t/xml-declaration-in-html-xhtml/87783/2

Can I have an HTML drag-and-drop input in Microsoft Edge?

We are adapting our product to Microsoft Edge. We have an HTML drag-and-drop feature that works correctly in IE, Chrome, etc.
Using Microsoft Edge from Win10 Insider Preview Build 10162, the drop is forbidden. We also checked http://html5demos.com/dnd-upload doesn't work neither.
Has anyone solved this problem?
Microsoft implemented this feature in EdgeHTML 13, included in Windows 10 Build 10586 (November 2015).
Original answer:
The DragAndDropEntries is not supported in Microsoft Edge yet. See this link for more detail
It says:
Allows dragging and dropping entire folders using HTML5 Drag and Drop. Extends the DataTransferItem with a method to get a FileEntry/DirectoryEntry.
Roadmap Priority: Low — We are still evaluating this technology. There may be significant spec stabilization, foundational work, or additional community input required before we can begin development."
However, feel free to request for this feature at
https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer
I just tried it the demo on Microsoft Edge and it worked fine for me.

CSS does not work with deployed application in IE

I have developed a small web App with MVC.
I have some CSS that does work OK when in debug in visual studio i.e. on IIS Express
It looks like as below (now I cannot insert images, thanks to stackoverflow)
When I deployed this application to my local machine, some CSS does not work.
This is how the deployed application appears. I explain, all the rounded corners are gone. and the location of some DIVs is not where it is desired.
it happens in IE, Chrome is largely OK.
when I check rendred css in developer tools for IE, all the "border-radius" elements appeared underlined. and position of the DIVs can be fixed by re-adjusting margins etc (which are good to go with Chrome).
btw IE Version is 11.0.9600.16428
Windows 7 professional, IIS Version 7.5.76
Any clues?
This can be several things. But I would check the following:
Check that all css files have been deployed and contains the styling as the source.
Check that the mark up is the same. Try opening the two sites in different tabs and check the source.
Check your developer tools for 404 on css/js files.
Check for javascripts errors.
Check if the correct doctype is set.

Problem images firefox

I have a big problem with my web site (you can see here), several user can't see images with firefox. I use too firefox but I don't have this problem.
These users use firefox 3.5.2 with windows XP or VISTA. I have no idea to find the problem.
Have you any idea ?
Thanks a lot.
Perhaps the user has accidentally blocked images from your domain.
In Firefox:
Tools > Options > Content tab > Load images automatically should be checked > click Exceptions... make sure the Site list does not include mowen-world.com. If it is there, highlight it and click Remove Site.
I've had similar issues a few weeks ago. The reason was that the JPG images were somehow corrupted. Some browsers/OS combinations showed them without problems, but on others they didn't show.
I fixed it by opening every JPG image and saving them again in a good image editor (like Photoshop or Fireworks)
Whenever I get a problem like this, I start from basics... like "is the HTML valid".
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fmorwen-world.com%2F
There are some issues listed here that could cause odd behaviour.
When I look at the site, I can see all the images fine and the website looks reasonably well laid out (Firefox 3.0.14 Windows XP AND Internet Explorer 8 Windows XP).
I can't see an issue using Firefox 3.5.3 on Windows Vista, just FYI.
Personally whenever I have issues with assets not loading or markup/CSS behaving weirdly, my first stop is Firebug. The Net panel shows the requests for any images and their respective responses. Certainly a good place to start looking.