sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

sing-box for Android uses tablet mode on a phone

Open Primate8423 opened this issue 10 months ago • 1 comments

Operating system

Android

System version

Android 16 (BP4A.260105.004.E1)

Installation type

sing-box for Android Graphical Client

If you are using a graphical client, please provide the version of the client.

1.13.0-beta.7

Version


Description

sing-box uses tablet mode on a mobile phone when screen DPI is low enough.

Is it possible to lower the DPI value threshold that makes it switch to tablet mode, or maybe provide a switch to force using phone mode?

Reproduction

I'm using a Pixel phone set to 356 DPI (Settings -> Display & touch -> Display size & text -> Display size, use the lowest available option, the exact DPI value is obtained from a 3rd-party app).

Image

Then, sing-box switched to tablet mode.

Image

Changing it to 420 dpi (the default settings) sing-box would use phone mode.

Image

Image

Logs


Supporter

Integrity requirements

  • [x] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
  • [x] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
  • [x] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
  • [x] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.

Primate8423 avatar Jan 18 '26 02:01 Primate8423

Fixed in 1.13.0-rc2. Thanks!

Primate8423 avatar Feb 09 '26 13:02 Primate8423