Skip to content

Conversation

@pljones
Copy link
Collaborator

@pljones pljones commented Sep 11, 2022

Short description of changes

UI/UX issue #2723 requests that all check boxes be made "self-labelling". This makes the change to the relevant forms.

CHANGELOG: Make checkboxes self-labelling

Context: Fixes an issue?

Fixes: #2723

Does this change need documentation? What needs to be documented and how?

Yes, User Manual and Server Manual screen shot updates are needed. This affects translations.

Status of this Pull Request

Needs review.

What is missing until this pull request can be merged?

Needs review.

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I tested my code and it does what I want
  • My code follows the style guide
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I've filled all the content above

@pljones pljones self-assigned this Sep 11, 2022
@pljones pljones requested review from a team and gilgongo September 11, 2022 10:27
@pljones pljones added bug Something isn't working good first issue Things which should be doable without lots of context needs documentation PRs requiring documentation changes or additions labels Sep 11, 2022
@pljones pljones added this to the Release 3.9.1 milestone Sep 11, 2022
@pljones pljones removed the needs documentation PRs requiring documentation changes or additions label Sep 11, 2022
@pljones
Copy link
Collaborator Author

pljones commented Sep 11, 2022

Website documentation is covered in jamulussoftware/jamuluswebsite#816

@ann0see
Copy link
Member

ann0see commented Sep 11, 2022

This seems to change much more than just the self-labeling checkboxes and makes the My Profile tab look strange due to the misaligned dropdown boxes on macOS

Settings screenshot

@pljones
Copy link
Collaborator Author

pljones commented Sep 11, 2022

This seems to change much more than just the self-labeling checkboxes and makes the My Profile tab look strange due to the misaligned dropdown boxes on macOS

Settings screenshot

Yes, as noted in the issue.

Is there an unrelated bug in MacOS, then?

@ann0see
Copy link
Member

ann0see commented Sep 11, 2022

Is there an unrelated bug in MacOS, then?

As it only shows up on this PR, I do think it's related.

@pljones
Copy link
Collaborator Author

pljones commented Sep 11, 2022

Is there an unrelated bug in MacOS, then?

As it only shows up on this PR, I do think it's related.

If it only shows on MacOS, it's unrelated.

@ann0see
Copy link
Member

ann0see commented Sep 11, 2022

It could be a Qt6 issue then.

@ann0see
Copy link
Member

ann0see commented Sep 11, 2022

No. It seems to be the same on the legacy build.

@pljones
Copy link
Collaborator Author

pljones commented Sep 12, 2022

No. It seems to be the same on the legacy build.

Thanks for checking. I know we've had some Qt issues on MacOS (Qt5 and Qt6)... It's strange that Alias is different from Stadt - they're the same field type. I'll check there's nothing obviously different...

@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch 2 times, most recently from 6b5a335 to e7d18e8 Compare September 12, 2022 19:01
@pljones
Copy link
Collaborator Author

pljones commented Sep 12, 2022

OK, I've now manually edited the clientsettingsbase.ui file to make the two input fields the same (copying the properties from the City/State to the Alias/Name). Can you take a look (once the artifact is there) to see if it's okay? (It looks the same in Linux.)

@ann0see
Copy link
Member

ann0see commented Sep 12, 2022

No. Still the same

My Profile

I think you should revert to the old box layout.

@hoffie hoffie changed the title Make checkboxes self-labelling UI: Make checkboxes self-labelling Sep 12, 2022
@pljones
Copy link
Collaborator Author

pljones commented Sep 12, 2022

Hold on... is that just the field highlighting? Tab onto the audio alerts field and do another screenshot, could you?

Copy link
Member

@hoffie hoffie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to target 3.9.1 with this?

  • As commented in-line, this will break some existing translated strings unless the PR manually fixes them up or we involve translators again.
  • Having to update screenshots would also imply to call in translators for updated website screenshots, I guess?

Comment on lines 66 to 71
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>13</height>
<height>10</height>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes appear to be layout-relevant? Could they be the reason for the observed changes?

Copy link
Collaborator Author

@pljones pljones Nov 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking <enum>QSizePolicy::Expanding</enum> could be the cause... Not sure why I missed your comment.

@pljones
Copy link
Collaborator Author

pljones commented Sep 12, 2022

I'm happy enough to move this to 3.10.0.

@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch from e7d18e8 to ad7f1a1 Compare September 12, 2022 21:11
@pljones
Copy link
Collaborator Author

pljones commented Sep 13, 2022

Just to "zoom in" on the poor alignment:
MacOS image image vs Linux (displayed on Windows) image image

The MacOS fields are failing to follow the direction to fill the space given to them and align.

@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch from f320f0e to fb86776 Compare October 20, 2022 21:21
@ann0see
Copy link
Member

ann0see commented Oct 20, 2022

Will test it in the following days (hopefully)

@pljones
Copy link
Collaborator Author

pljones commented Oct 21, 2022

Post when you're ready and then I'll make sure there are builds for all the branches.

@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch from fb86776 to b0fd9da Compare October 21, 2022 17:11
@ann0see
Copy link
Member

ann0see commented Oct 21, 2022

Should be good tonight (or tomorrow evening)

@pljones
Copy link
Collaborator Author

pljones commented Oct 21, 2022

@ann0see
Copy link
Member

ann0see commented Oct 22, 2022

Ok. It seems as if only 2 is good.
V1:
grafik
V2: (ok)
grafik
V3:
grafik

@pljones
Copy link
Collaborator Author

pljones commented Oct 22, 2022

I do wonder why grid layout doesn't work on the Mac... It does explain why it's not in use.

@ann0see
Copy link
Member

ann0see commented Oct 28, 2022

Maybe some Qt bug…

@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch 2 times, most recently from 55b00b3 to 29653eb Compare November 5, 2022 17:15
@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch 3 times, most recently from 6eaf359 to 6d226e4 Compare November 16, 2022 13:36
@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch 2 times, most recently from d867181 to e5bbeee Compare November 24, 2022 20:28
@pljones
Copy link
Collaborator Author

pljones commented Nov 24, 2022

OK, found a couple of potentially relevant diffs from this version to "v2". @ann0see, once the build is clean, can you give it a try?

I'll get the v2 and v3 done again, anyway.

Edit Hm. Not sure what's happened but the source pre-v3 doesn't look like I'd remembered... v3 looks and acts as I'd expect, the earlier ones don't.

@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch from 95c288e to 5e5eefb Compare November 24, 2022 20:37
@pljones pljones requested a review from ann0see November 24, 2022 20:45
@ann0see
Copy link
Member

ann0see commented Dec 3, 2022

Sorry. I must have missed this. Will do the Test

@ann0see
Copy link
Member

ann0see commented Dec 3, 2022

The asset from this PR donesn't seem ok.

@ann0see ann0see changed the base branch from master to main December 26, 2022 19:07
@pljones pljones force-pushed the bugfix/#2723-self-label-checkboxes branch from 5e5eefb to 26a547a Compare January 2, 2023 19:02
@pljones
Copy link
Collaborator Author

pljones commented Jan 2, 2023

NB this remains work in progress

@ann0see
Copy link
Member

ann0see commented Jan 2, 2023

@pljones Can I test this again?

@pljones pljones closed this Jan 21, 2023
@pljones pljones deleted the bugfix/#2723-self-label-checkboxes branch January 21, 2023 09:29
@pljones pljones removed this from the Release 3.10.0 milestone May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working good first issue Things which should be doable without lots of context

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Checkbox controls should be "self-labelling"

4 participants