billthefarmer/editor

No Menu

Closed this issue · 7 comments

As seen in the image, the "3-dots", where I assume there is a menu, are missing.

NoMenu_23-01-07

It is version 1.79 installed using F-droid on Android 5.1.1 on Samsung Galaxy Note 10 (SM-P600).

Ok. My guess is that something changed in the transition Android 5 --> 6.
My problem is that Android 5.1.1 is the last existing update on the unit (SM-P600).

OK, this is a Galaxy Nexus 5.1 emulator, works fine.

Screenshot_1674730807

Screenshot_1674730822

Hmm, out of ideas.
I tried to change font size, language, etc., no luck.
I have been poking around in the developer options, turned on showing layout bounderies:
NoMenu_23-01-26_LayoutBounderies
It did not give me any useful information, can you see anything?

Is there there something in developer options that can reveal some useful information?
(I do have some programming skills but not on phones/tablets.)

Anyway, I will try to uninstall/reinstall the app.

I don't have any ideas either. Developers don't have a great deal of control over how the toolbar/menu appears on any given device. The content is defined in an xml file – Menus, in this case – here. There are two functions in the API for this particular menu: onCreateOptionsMenu, used to create the menu, here and onPrepareOptionsMenu, here, used to enable/disable items according to the state of the app, to add checkmarks and to add items dynamically, like the Open recent items.

There is a property android:showAsAction which is used to indicate whether you would like the item to appear in the toolbar or not, but it is a suggestion, ifRoom. It is possible to use always, which I haven't used in this app. I have had all sorts of weird things reported by users of my apps, most of which I have not been able to reproduce.

I am an idiot... There is no Menu icon, because there is no need. This old tablet has a hardware menu button, and it works.

Thank you for the patience with the stupid.

OK, I've had quite a few weird reports, but this is the best one yet.