In the UK all passengers are required to remove their laptops from bags for x-ray screening. This isn’t just so that screener gets a good look for tell-tale signs of an IED in your laptop. The equipment used in British airports also has trace detection technology so additional swabs are only necessary if the initial screening shows something untoward.
Of course, screening in other countries isn’t always as thorough – although, in some cases, it can be better. Balance is key (or at least, that’s what I hope government officials think)