How to close a floating window on Xiaomi: disabling ads and widgets

Owners of Xiaomi, Redmi and POCO smartphones often experience unexpected windows on top of the main screen, such as intrusive advertising, a security system notification, a floating widget, or a multitasking window. Understanding which element you’re facing is the first and most important step to solving a problem.

MIUI and HyperOS offer a variety of features for convenience, but they are sometimes a source of annoyance. Some windows block access to buttons, block content in games or simply interfere with view. In this article, we will analyze all possible scenarios for the emergence of floating elements and provide clear instructions for deactivating them.

Now, the way you close it depends on the nature of the window, and the way you do it, the way you do it, the way you do it, the way you do it, the way you do it, and the way you do it, the way you do it, the way you do it, we're going to look at each case in detail, so you can quickly take back control of your device.

Identification of the type of floating window

Before trying to close an item, you need to understand what it is. On Xiaomi devices, the most common three main types of floating objects are: advertising blocks from the MSA system, system notifications for security or antivirus, and application functional windows (Multi-Window).

Advertising windows usually appear suddenly on the desktop or when you unlock the screen, often containing text like "Clean up garbage" or "Get a coupon." System notifications, by contrast, look more formal and often are associated with the operation of the Security application. Application windows have clear boundaries and allow you to interact with the content inside them.

If you're not sure where the window came from, try to tap it carefully. If the browser with the ad page opens, it's advertising. If the app rolls out, it's Multi-Window. If the antivirus settings menu comes up, it's a system notification. If you get the right identification, it'll save you time and nerves.

⚠️ Warning: Never click on the OK or Accept button in suspicious advertising windows claiming that your phone is infected with a virus.

It's also important to note that some floating elements can be part of special features like Quick Ball or floating buttons for people with disabilities.These elements usually have a translucent circle or square that can be dragged around the screen.

Disabling system advertising and MSA recommendations

The most common cause of unwanted windows is the MSA (MIUI System Ads) service, which is responsible for showing advertising recommendations in standard applications and on the desktop, and to get rid of them, you need to perform a series of actions in the settings.

First, you need to turn off ad personalization. Go to the Settings menu, then select Passwords and Security. In the list that opens, find Access to Personal Data or Special Features (depending on the version of MIUI). Find the msa list and turn off the switch. The system will require you to wait 10 seconds, then click Cancel.

β˜‘οΈ Checking Advertising Settings

Done: 0 / 4

Once permissions are revoked, MSA is also advised to disable application-specific recommendations. Open the Security app, click on the settings gear in the upper right corner, and find Receive recommendations. Put the slider inactive. Similar settings are available in the Music, Video and Explorer apps.

If the ad windows keep popping up, they may be caused by a particular application, and then you can analyze the running processes. Go to Settings β†’ Apps β†’ All apps. Carefully look at the list for unknown programs with names like Flash Player, Update Service, or just a set of characters. Deleting such programs often solves the problem.

⚠️ Note: After disabling msa, the ad windows may not disappear instantly.In some cases, you need to restart the device or wait for 24 hours to fully update the system policies.

Managing application windows and multi-window mode

Float Window allows applications to run as small windows on top of other programs, which is convenient for multitasking, but sometimes these windows get in the way if they were opened accidentally, and you can close them in a number of ways, depending on the version of the shell.

In most cases, there's a thin strip or rolled-up window icon at the top of a floating window. Pressing the cross [X] or swipe down completely closes the app. If there's no cross, try pinching the top of the window with your finger and dragging it to the bottom of the screen where a red zone or basket icon says Close will appear.

To manage all active floating windows, use the multitasking bar. Swipe from the bottom up and hold your finger (or press the menu button if it's on). At the top of the screen or in the special menu, you'll see thumbnails of running apps. Click on the cross on the thumbnail of the floating window to close it.

If the floating window is stuck and doesn't respond to touch, you can use Task Manager. Go to Settings β†’ Advanced Settings β†’ Floating Windows. Here you can see a list of applications that have permission to work in this mode and turn it off for specific programs.

Action.Method of implementationThe result
Closing one windowSwipe down or click on the crossAppendix is closing
CurtailmentSwipe up from the bottom of the windowThe window turns into an icon.
Full exit.Drag to the "Close" areaThe application process is stopped
Blocking the regimeSettings β†’ Floating windowsLaunch ban in the background

Configure the notifications of the "Security" application

The Security app is a built-in tool that often creates floating notifications about system status, battery charge, or virus availability. These windows can be useful but often annoying in their permanence.

To adjust the behavior of these notifications, open the Security app. Click on the gear icon in the upper right corner. Find the Notifications or Memory Settings section. Here you can turn off the display of the floating memory cleanup window that appears after the applications are closed.

Why can’t I remove the Security App?
Security is a system component of MIUI. Deleting or stopping it completely can lead to unstable system operation, inability to install applications from unknown sources and failures in the operation of permissions.

Also worth checking is the Game Turbo settings. If a floating window appears during a game, it could be a game mode toolbar. Go to the Security app β†’ Game Accelerator β†’ Settings. Turn off items related to floating chat or performance windows if you don't need them.

To clean up the app itself, you can reset it. Go to Settings β†’ Apps β†’ All apps. Find Security, click Clear β†’ Clear all data. This will return the notification settings to factory settings, removing any software failures that cause windows to stick.

Blocking pop-up ads in the browser

Users often confuse system windows with ads in the browser. If the floating window only appears when you are sitting on the Internet, the problem lies in the settings of the Chrome browser, MI Browser or Firefox.

In Chrome, go to the menu (three dots) β†’ Settings β†’ Site settings β†’ Pop-ups and redirects. Make sure the switch is in the Block position. It is also recommended to go to Ads and turn on the blocking of intrusive ads.

In the standard MI Browser (often the source of the problems), you need to be especially careful: Open the browser, click on the user profile or three menu bars, select Settings. Find the Privacy and Security section. Activate the Adblocker option. In addition, in the Notifications section, you should disable all suspicious sites that you previously allowed to show notifications.

πŸ’‘

Use browsers with built-in protection, such as Brave or DuckDuckGo, if standard browsers continue to skip pop-up ads.They have more aggressive default filters.

If the ad continues to appear, check the list of installed extensions or plugins.Some free programs install their own browser modules that generate traffic.Removing newly installed baffling apps often solves the problem.

Solving problems with suspended interfaces

There are times when the floating window doesn't close with standard methods: the cross doesn't press, the swipes don't work, and the phone continues to respond to other actions, which indicates that the process of the System UI interface freezes.

The first and most effective solution is to reboot. However, if the window blocks the off button, use the hardware buttons. Press the Volume Up button and the Power button simultaneously and hold for about 10-15 seconds. The device will forcefully restart.

If the problem is repeated with a particular application, try clearing its cache. Go to Settings β†’ Apps, find the problem program, select Memory β†’ Clear the cache.This will not delete your personal data, but will reset temporary files that may have caused the display to fail.

In extreme cases, when floating windows are the result of a serious software conflict, you may need to reset to factory settings.Be sure to back up all important photos, contacts and documents in the cloud or on your computer before performing a full reset (Wipe Data), as all data will be deleted.

πŸ“Š What type of floating windows bother you most often?
MSA banner ads
Application windows (Multi-Window)
Antivirus notifications
Pop-up ads in the browser

Frequently Asked Questions (FAQ)

Why does the floating window reappear after closing?
This is typical of applications with background service or ad modules, and if you close the window but do not revoke permissions in the settings (as described in the section on MSA), the process will start again after a certain time, and this can also be a sign of malware.
Can I completely disable the floating windows feature on Xiaomi?
You can’t completely remove the Multi-Window system function without root rights, as it’s part of the MIUI/HyperOS shell. However, you can prevent specific applications from running in this mode through special features or application management settings.
Is it safe to click β€œClean” in the antivirus ad window?
No, not recommended. Often, these windows lead to paid subscription pages or try to get you to download another app. Use only the official Security app from the phone's menu to clean up the memory.
How do I know which application creates a floating window?
When the window is active, go to Settings β†’ Applications β†’ Launched Applications (or use third-party process monitoring).The application that consumes resources in the background and has the appropriate permission to β€œMap on top of other applications” is most likely the source.
Does closing the floating windows affect the speed of the phone?
Floating windows (especially video or heavy widgets) consume RAM and CPU resources, and closing them frees up the system, which can have a positive impact on autonomy and performance, especially on models with low memory.