Windows 10 DPI scaling and window positioning issues on laptops

If you’re using a Windows 10 laptop at anything other than the default scaling factor for your display, you may encounter an issue where closing the lid causes your window positions and sizes to be forgotten. I discovered this on my MacBook Pro Retina, which I run at 100% scaling (the default is 200%). This may also apply on Windows 8.1, but I haven’t tried it on this hardware.

In Windows 8.1, Microsoft introduced a new model of handling DPI scaling, that allowed different monitors to have different scaling factors. This is useful for situations where you’re running multiple displays of vastly different density, as it’ll make applications appear roughly the same size on all monitors.

However, at least in Windows 10, there’s a problem with this. Windows detects displays when they’re attached, and determines a proper default DPI and applies it. Once that is done, it applies your preferred scaling factor to the display. The problem with this is that closing the lid on a laptop effectively detaches the display, and opening it back up causes redetection. There’ll be no problem if you’re happy with the default scaling factor, but if you’re running a non-default scaling factor, this can cause huge problems. Apps can get stuck in the old scaling factor, windows will be rearranged, and windows will be resized. A workaround for this problem (if you don’t need different DPI for each monitor) is to disable Windows 8.1 DPI scaling, which on 8.1 could have been done by checking the “Let me choose one scaling level for all my displays” checkbox. That checkbox, however, is no longer available in Windows 10, but the registry key that it changed is still available, at HKCU\Control Panel\Desktop\Win8DpiScaling. Change it from 0 to 1, reboot, and now all displays should have the same DPI, and closing your lid won’t change your window layout.

Obviously, there’s an underlying bug in display detection that Microsoft needs to fix (as the feature that I’ve disabled actually is a useful one). However, for my case, where I’m happy with all displays running at the same scaling factor, the old way of multi-monitor scaling (as used in Windows 98 (the first version with official multi-monitor support) through 8.0) works perfectly fine.

Bard’s Tale for Android IIGS emulator analysis… and then some

The other day, I saw that Bard’s Tale for Android had an Apple IIGS emulator hiding in it. Given that the game was $2.99, and I have an HP TouchPad running Android handy, I decided to grab it, just to see what was going on with the emulator.

Here’s my initial analysis, in the form of a YouTube video (sorry for the poor quality):


Bard’s Tale (Android) embedded Apple IIGS emulator – YouTube

So, now that I had identified what the emulator actually was, I decided to go for a deeper look. Continue reading

A retraction from the Why Apple is evil series – Apple not actually patenting third-party applications

So, I’ll admit that I didn’t quite read everything to do with this particular case.

Apple was not claiming the functionality of FutureTap’s application, but rather using it as an example UI.

While it’s still evil to do that much in my opinion, Apple isn’t trying to patent a third-party app.

I’m going to leave the previous post up, but with it made very clear that that post is in error.

Source: Engadget

RETRACTED: Why Apple is evil: Patenting apps from third-party developers

I’ve been saying Apple is evil for quite a while now, but this isn’t just evil. This is kicking puppies (TV Tropes warning) evil. Even if you apply Hanlon’s Razor, in my opinion, incompetence doesn’t adequately explain this, although that’s running rampant here, too.

Apple has filed a few patent applications for mobile applications as of late, and for one of those applications, application number 20100190510, Systems and Methods for Accessing Travel Services Using a Portable Electronic Device, they decided to shamelessly rip off a third party developer’s iPhone app, “Where To?” And, no, they didn’t get permission from the developers.

What the fuck, Apple?

What the fuck?

Now, let’s say that FutureTap fights this in court. Let’s say that they can even win against Apple’s legal budget. Now, their business model is based on selling iPhone apps. We already know that Apple’s app approval process is extremely arbitrary. A win against Apple likely guarantees that their apps will get permanently banned from the App Store, killing their business.

With this, Apple’s sending a very, very clear message to developers: Develop for the iPhone, and you work for us, not for yourself.

Source: GigaOm

UPDATE: I’m retracting this post, as I see that I’m in error. I’m leaving it posted, but please see this post.

Why Apple is evil: Inconsistent banning of apps, even when competitors aren’t banned

You’ve probably heard of People of Wal-Mart, a site showcasing the, uh, dregs of society that can be found shopping at Wal-Mart. (If you haven’t, it’s quite entertaining. No, I’m not affiliated with them in any way.)

An iPhone app, Funny Shoppers, was developed for the site that allowed users to view images from the site within an app, and submit their photos from the app. However, Apple rejected the app, citing obscene content – something that they’ve used many times in the past to ban apps that they don’t like.

So, the developers, Alkali Media, decided to remove photos of any people from the app. Yep, still offensive…

Yet, Apple later approved an app, Shopper Fail, which used the same content! Apple wouldn’t comment on it, and it took a cease and desist to stop the second app from being distributed.

Apple eventually suggests that Alkali Media remove all references to Wal-Mart from the app. Alright, so they do so. Several MONTHS later, Apple approves the app.

A day later, after it becomes fairly popular? They pull the app, citing offensive content again.

What?

Apple, stop jerking developers around. Developers make your platform what it is, and if you keep jerking them around, they’ll jump ship to Android. You’re also hurting your customers by doing this – not everyone wants you to be their moral police.

Source: Gizmodo

Why Apple is evil: More blocking apps for possible uses… that iOS features can do, too

Apple has removed iChatr, a Chatroulette-style app for the iPhone 4, from the App Store, due to too many people exposing themselves.

OK, that’s something to be expected on a Chatroulette-like service, but here’s the thing. You could very easily make a Chatroulette-like service that uses phone numbers, completely avoiding the app store, and then making FaceTime calls. (Granted, Chatroulette and iChatr have better privacy than that approach.)

Or, you could even have a single number for a FaceTime service that acts like Chatroulette. Call the number, hit FaceTime, get a random partner. Want to switch partners, hang up and call back. (Or, if the other person hangs up, it could autoswitch.)

And, there’s nothing stopping people from exposing themselves on FaceTime.

Source: Gizmodo

Why Apple is evil: Inconsistent censorship of non-pornographic nudity… after age checks

Two graphic novels were rejected from the iPad due to sexual content, Ulysses “Seen” and a graphic novel version of The Importance of Being Earnest (Amazon link, no affiliate info).

One thing I’ll emphasize, first, is that Apple does have every right to control content that they distribute.

However, the content in both of these graphic novels wasn’t intended to be pornographic in nature.

The publishers were willing to work with Apple, to get their novels published. In the case of Ulysses “Seen”, some panels had to be completely redrawn – even pixelation or fig leaves weren’t sufficient. As for the The Importance of Being Earnest graphic novel, one entire page had major parts of the story blacked out, involving partial nudity (but no genitalia shown) of two male characters together.

Again, Apple has the right to control content they distribute.

However, a heterosexual sex scene was preserved in an approved comic, Kick-Ass. So that doesn’t fly. (The content in Ulysses “Seen” was completely non-sexual in nature, and less was shown in The Importance of Being Earnest.)

Apple did ultimately reverse their decision, and asked both publishers to resubmit their apps, but only after the uproar about their actions. (Yes, I’m slow to post this, sue me.)

Sources (possibly NSFW): Boing Boing, Gizmodo

Why Apple is evil: Making life hell for developers releasing bugfixes on apps that accept user-submitted content

It appears that Reddit has abandoned their iPhone app.

Apparently, when Reddit has released bugfixes for approval, an approver happened to stumble upon some user-submitted content that was bad, and rejected the app. Multiple times.

So, Reddit gave up on the iPhone app, is making a new web interface, and is open sourcing the app.

This is why the approval process needs some serious work, or better yet, a way to break out of the walled garden.

Source: App Rejections