Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not select switch invert option using keys #5640

Closed
1 task done
offer-shmuely opened this issue Oct 24, 2024 · 8 comments · Fixed by #5663
Closed
1 task done

can not select switch invert option using keys #5640

offer-shmuely opened this issue Oct 24, 2024 · 8 comments · Fixed by #5663
Labels
bug 🪲 Something isn't working color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour
Milestone

Comments

@offer-shmuely
Copy link
Contributor

Is there an existing issue for this problem?

  • I have searched the existing issues

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

selecting a "switch" on a mixer line
the "Invert" button can not be reached with keys (only with touch)
so radio like the X10 can not choose " !SE- "

Expected Behavior

be able to select "Invert" button with keys as well

Steps To Reproduce

  1. edit a mixer line
  2. choose "switch"
  3. select "SA-
  4. try to navigate to "Invert" with keys

Version

2.10.4

Transmitter

FrSky X10 / X10S (ACCST), RadioMaster TX16S / TX16SMK2

Operating System (OS)

No response

OS Version

NA

Anything else?

image

@offer-shmuely offer-shmuely added bug 🪲 Something isn't working triage Bug report awaiting review / sorting labels Oct 24, 2024
@pfeerick
Copy link
Member

pfeerick commented Oct 25, 2024

Looks like this is present in 2.10.5 and nightly also (which is really bugging me as I thought there had been a PR merged to fix exactly that 🤔). As a workaround in the meantime, long ENTER/press on the switch field to invert still works.

@pfeerick pfeerick added color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour and removed triage Bug report awaiting review / sorting labels Oct 25, 2024
@pfeerick pfeerick added this to the 2.10.6 milestone Oct 25, 2024
@pfeerick pfeerick changed the title can not select inverted switch using keys can not select switch invert option using keys Oct 25, 2024
@philmoz
Copy link
Collaborator

philmoz commented Oct 25, 2024

The 'Invert' option is only supposed to be present for radios with touch screens - it is only accessible via touch input.

When this feature was added only radios with factory fitted touch screens had the HARDWARE_TOUCH setting - since then someone has made this the default for ALL color radios regardless of whether they have a touch screen fitted or not. IMO this should not have been changed.

To select inverted mode long press on the ENTER key on the switch control (not in the popup).

@3djc
Copy link
Collaborator

3djc commented Oct 25, 2024

Pretty much like BW radios

@philmoz
Copy link
Collaborator

philmoz commented Oct 25, 2024

Is there a reliable way to check at runtime if the touch screen is actually present? (Since we can no longer tell at compile time.)

@3djc
Copy link
Collaborator

3djc commented Oct 25, 2024

I think it is time we create a radio detected struct that list the elements been discovered (touch, serial gimbal, BT,...) that we can query globally (doesn't need to be part of yaml imho)

@pfeerick
Copy link
Member

When this feature was added only radios with factory fitted touch screens had the HARDWARE_TOUCH setting - since then someone has made this the default for ALL color radios regardless of whether they have a touch screen fitted or not. IMO this should not have been changed.

This is somewhat of a fallacy, as the hardware define can really only dictate whether a radio might have touch, not whether it actually does, so the define can only really be used to include or not include stuff that might be relevant for touch.

A struct of runtime detected features is certainly in need, and also needs to be passed to Companion, so that it can know things about the radio configuration that are not configurable at compile time. Neil was going to write a proposal for that, but I expect other stuff got in the way.

B&W has the invert option in the popup menu. Am I right in assuming it was not included in the navigation flow on colorlcd was because it was a PITA to implement since it's not one of the group buttons? Just asking, as it would have made more UX sense for it to work.

@philmoz
Copy link
Collaborator

philmoz commented Oct 25, 2024

This was discussed at length in #4104 and it was decided that 'Invert' should only be visible for radios with a touch screen.

@philmoz
Copy link
Collaborator

philmoz commented Nov 14, 2024

In PR #5663, I have changed the Switch and Source popups to allow the long press of the ENTER key to change the 'Invert' state when the popup menu is open (as well as when it is closed).

@pfeerick pfeerick modified the milestones: 2.10.6, 2.11 Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working color Related generally to color LCD radios UX-UI Related to user experience (UX) or user interface (UI) behaviour
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants