MyExpenses icon indicating copy to clipboard operation
MyExpenses copied to clipboard

Unusable overlay windows when using small android display size setting

Open klaviartur opened this issue 11 months ago • 3 comments

Screenshot_20250115-222916_Meine Ausgaben

After setting Display Size setting in Android system settings to small, myexpenses no longer opens new transaction (and other dialogs) dialog in full screen, but rather in an overlay window in the center of the screen. I guess this has to do with automatic layout change for tablets or something.

In the end it makes everything extremely cramped in that oerlay window and unusable (at least for me). So myexpenses forced me to reset display size to default.

I think there should be at least a manual override of this behaviour somewhere in the expert settings to force full screen dialogs. Or a more advanced automatic detection of sensible dialog sizes.

klaviartur avatar Jan 15 '25 21:01 klaviartur

@klaviartur Thanks for the report. Currently the app uses a component that decides based on a size property of the screen configuration that Android OS provides. According to this property, in your configuration, the screen is large. This is kind of an edge case, and unfortunately using this component, it is not possible to change the breakpoint which is 480x640 dp. So unfortunately, this cannot be fixed easily, and might only be addressed with a complete refactoring of the edit screen.

mtotschnig avatar Jan 17 '25 16:01 mtotschnig

Thanks for the quick reply!

Is this component only determining the size of the dialog or actually drawing it? What I'm getting at: is deactivating /circumventing this component entirely to force full screen possible?

This would have to be controlled by a switch somewhere in expert settings, of course, to not interfere with regular tablet users.

klaviartur avatar Jan 17 '25 17:01 klaviartur

@klaviartur The component is actually a Theme, and allowing user to select between themes is theoretically possible (We had done this for dark and light theme before Android(x) introduced support for it, but bringing it back is unfortunately not realistic at the moment.

mtotschnig avatar Jan 23 '25 07:01 mtotschnig