How to manage subtype tag for asset in Xcode 7? - xcode7

Xcode 7 allow Image Set Type to use subtype tag — Asset Catalog Format Reference.
Subtype tag have the following values:
- Tag not included, the image is for a 3.5-inch iPhone screen.
- retina4, the image is for a 4-inch iPhone screen.
- 736h, the image is for a 4.7-inch iPhone screen.
- 667h, the image is for a 5.5-inch iPhone screen.
But Xcode does show have any option to manage this tag. So how to manage it?

I filled a bug report to Apple and this is the answer;
This issue behaves as intended based on the following:
There is currently no publicly supported values subtype in the CAR
file. Previously, this was used for R4, but that was retired when we
stopped supporting the old 3.5” displays. Additional subtypes for the
new 6 and 6s display were never defined.
We are now closing this bug report.

Related

MS Access: Attachment type symbol shows black backround

I have a small database project where users can attach files to records. Mostly pdf and word docs. I am using the attachment type fields that access provides because I want to get more familiar with them. I have a continuous form that shows the attachment field using the Picture/Symbol view option. Most of the time, but strangely not always, the attachment symbol shows this black background behind its symbol. The black background does not cover the whole field but rather only the picture for the attachment type (Word, PDF etc.). The field itself is set to transparent, which is neccesary for my row highlighting to work. Does anyone know why this is happening? Is it a bug? Some way to fix it? It had worked when I had first set it up but upon restarting my computer and reopening the project they turned black and are now stuck that way. I removed them later for some reason and re-did the whole thing, upon which it seemingly worked but after restarting it went black again. There is no difference between using the view settings Picture/Symbol and Symbol.
Visual Aid:
Update 1:
The black backgrounds are seemingly random. I set the view option to Paperclip, restarted access, then set them to Picture/Symbol again and now I get this:
Closing and opening the file appears to turn the backgrounds black. Changing the view type back and forth inbetween can fix some, but not always.... I'm really not sure what's going on.
Update 2:
The issue is seemingly not affected by transparancy settings. Changing the Background color of the field has no impact either. The issue also persists when making a new form from scratch and adding the Attachment type field to it. It also carries over from one pc to another, so unless both have the same issue in their windows installation I don't think that is the root cause either. Compress & Repair did not help. I am only using one attached file per record.
Update 3:
I have had no luck consistently reproducing the issue. Most of the time, about 80% of it I am estimating, the issue persists. Some days, when launching access, the issue is resolved partially for either the word icon, or the pdf icon. On some days the issue is resolved for all icons as in the picture below. Almost always, after closing and opening access, the issue will immediately reappear for all icons. Closing and opening the form only and keeping the file open is fine, the issue stays resolved. Really not sure how to go about this.
My Access version:
Version 2205 Build 16.0.15225.20028
My Windows install:
Microsoft Windows 10 Pro
10.0.19044 Build 19044
So, updated to windows 11 and the issue is solved. No idea what was wrong exactly but it turns out it was related to the windows install. So, some kind of a bug in Win 10 is my guess, since it was happening on two different machines both running win 10.

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.

Cursor not showing in Device Mode (Google Chrome)

So I'm trying to develop a webapplication and I'm trying to check it out on mobile.
I'm currently using Cordova and JQuery Mobile together with ripple.js to view my application in my browser.
The first issue (as far as I know) is that ripple.js will work best in Google Chrome, so this is my only test platform.
The second issue is that when I toggle Device Mode on, it doesn't show me the black dot (cursor) when I enter the rendered version.
I'll explain my situation or a scenario:
As an example I'll go to http://google.com
I press F12 to enter developer mode
I click the Toggle Device Mode button
I will see my cursor, until I enter the generated mobile canvas. While I would normally see a black transparant dot, I now see nothing.
I can however click and drag like I would normally do, but I can't see what I'm doing.
The things I already tried:
Reset all the flags back to default
Reset all developer tool settings to default
(edit) Installed a previous version of Chrome AND Chromium
So question is, how do I get my cursor back?
Extra: I'm using version 49.0.2623.87 m, but that's not related since my co-worker, has the same version and he sees the cursor.
(edit) currently I'm using the mouse option where I press Ctrl to see the circle which indicates where my cursor is, but this really has to be a temp solution.
(edit) I fixed it by doing a combination of things. So I'm not sure which exact thing fixed it. I removed a few programs that I installed after it still worked. I uninstalled about 4 of them. Also I did an update of my graphics card and then did a reboot. So it could be either the graphics card update, the software uninstall and/or the reboot.
I had the same issue. (note this question might be a duplicate of this one)
Following the advice on the Chrome forum here I changed the Quantization Range in my Intel HD Graphics Control Panel from "Default Range" to "Full Range". The touch pointer (grey circle) appeared immediately.
If that doesn't help you may have to change refresh rate too. Changing from 59p Hz to 60p Hz or some other refresh rate might help.
This should also help.
Open the mouse control panel.
Select the Pointer Options tab in the Mouse Properties window.
Then enable Display pointer trails option.
In case you don't like or are getting annoyed, like me, due to the trailer. Move the slider to the Short position and the trailer becomes near to non-existent or invisible.
I fixed it myself, yet I'm not exactly sure how I did it. I edited my original post and added the solution in the last paragraph.
Had the same on my Asus laptop with Chrome 66
Resolution that worked for me
Graphics Control Panel > Display > General Settings > Scaling > Change to Scale full screen.
OFF your Asus Eye Care Switcher.
I am posting this as answer because above mentioned answer didn't work for me but I had this issue when I had a monitor attached to my laptop, for development work. I played around with my display settings and discovered that IF the scale on my second monitor did not match the scale on my laptop, the mobile development mode cursor would disappear. (windows 10)
If this is an issue for anyone just go into Display settings -> Display -> Scale and Layout --> make sure that both your laptop/desktop matches the display scale of your second monitor.
Hope this will help.

GXT Info.display not getting rendered properly on screen in IE8

I am using Info.display("", "My message");to display GXT Info box on screen but it is observed that the info box is not rendered properly (with a transparent background not readable properly) in some of user system.
This issue is solved when user clear browser cache and delete temp folder files and start a new session, but the problem is replicated again after some time interval.What could be the reason? I am not able to debug because Message div is deleted in a fraction of 3-4 seconds.I am using sencha 3.0 version.
Your problem sounds similar to the one described in this Sencha GTX 3.x bug report:
http://www.sencha.com/forum/showthread.php?282275-Info-popup-is-transparent-in-IE
You may wish to follow its progress if this issue is still important to you.

When Media Player's windowlessVideo Param goes bad, now what?

Background:
We have a web "app", where on one web page we have the following:
An embedded Windows Media Player object. It's surrounded by listview's on the left, and some graphical elements on the bottom. The listview's (there are a couple), allow for data entry. Therefore, dialogs pop up to allow you to enter in various text.
Because of these pop-up dialogs (not only the data entry dialogs, but regular alerts/MessageBoxes), one of the params of the embedded Windows Media Player object is:
<param name="windowlessVideo" value="true">
Otherwise, any dialog of any type will fall behind the Media Player object and you won't be able to see it. Here's an example stackoverflow solution to the dialog problem using windowlessVideo.
Here's the issue:
And we didn't see this until more and more people started using Windows 7 and Windows Media Player 12, with the windowlessVideo setting on, it causes performance to degrade. Sort of a lag. Not the type of lag where I type a few words, a second goes by, and then you see the words that I typed finally appear. No. Imagine typing this sentence:
I am typing into a dialog box some text.
When you look up, various characters will be missing and it will look something like:
amtpin int adilg box sme txt.
So, as you can imagine, this is unacceptable. People just can't type into the dialogs anymore.
Of course, when you look at msdn it says this:
In Windows Vista, rendering video in windowless mode can degrade
performance.
OK, yep. I see it. Now what?
Before Windows Media Player 12, I used to be able to go to Tools -> Options -> Performance tab and under Video acceleration there would be a slider, and an Advanced button with a ton of other options. I've fixed a 'flickering' video problem before by turning the slider to None. So, I was hoping there was some Media Player setting I could modify to rectify this. Nope. There are no longer any video acceleration settings, and there are like 4 checkboxes under 'DVD and video playback' that don't affect things.
Meanwhile, if all I do is remove the windowlessVideo setting, I don't get that lag at all. I add it back, I get the lag. I take it away, no lag. But all that does is replace one problem with another. I might fix the lag, but now all my dialogs are behind the Media Player.
OK, Microsoft. Thanks! You win. But, now what? Anybody have any ideas? Thanks!