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

sat plugin: qsplitter in sat list view #1696

Merged
merged 5 commits into from May 29, 2021

Conversation

axd1967
Copy link
Contributor

@axd1967 axd1967 commented May 29, 2021

Description

  • A splitter has been added in the satellite tab
  • tabbing order improved
  • a reminder added in the Description box

I often wanted to resize the relative layout of the satellite tab because I wanted to see more of the groups.
Also, I wasn't aware I could attach notes to satellites, so I highlighted this in the dialog.

Screenshots (if appropriate):

image

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • This change requires a documentation update

How Has This Been Tested?

  • compare behaviour before/after
  • diff review

Test Configuration:
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-73-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-10510U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM

Checklist:

  • My code follows the code style of this project.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link
Member

@alex-w alex-w left a comment

Choose a reason for hiding this comment

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

Also, I wasn't aware I could attach notes to satellites, so I highlighted this in the dialog.

This feature (editable description for satellites) was added many years ago.

The text for placeholder is not very good IMHO and it should be rephrased and please avoid using round brackets for it.

@gzotti ?

@alex-w alex-w added this to To do in GUI via automation May 29, 2021
@alex-w alex-w added this to To do in Plugin: Satellites via automation May 29, 2021
@alex-w alex-w moved this from To do to In progress in Plugin: Satellites May 29, 2021
@alex-w alex-w moved this from To do to In progress in GUI May 29, 2021
@alex-w alex-w added the enhancement Improve existing functionality label May 29, 2021
@alex-w alex-w added this to the 0.21.1 milestone May 29, 2021
@gzotti
Copy link
Member

gzotti commented May 29, 2021

I must admit I rarely use this plugin. I hope I can review the new functionality later today, but have other duties right now.

First sight: I don't object the bracketed "(add notes)", it implies there could be something interesting to add, while there is (likely) nothing actually stored yet.

For future PRs: please use screenshots in English.

@axd1967
Copy link
Contributor Author

axd1967 commented May 29, 2021

For future PRs: please use screenshots in English.

of course, sorry!

@@ -1019,7 +1078,7 @@
<bool>false</bool>
</property>
<property name="placeholderText">
<string notr="true"/>
<string>(add personal notes here)</string>
Copy link
Member

Choose a reason for hiding this comment

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

For me bracketed text is OK. It is used also in other programs. Behaviour looks good. Whether it's this or only "(add notes)" is a matter of taste.

Copy link
Member

Choose a reason for hiding this comment

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

Ok

Copy link
Member

@gzotti gzotti left a comment

Choose a reason for hiding this comment

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

For me it's OK. I cannot comment the "improved tabbing" as I never used it. As soon as I tab into the text input, I input tabs there...

@alex-w alex-w self-requested a review May 29, 2021 16:19
@alex-w alex-w merged commit 02a69ac into Stellarium:master May 29, 2021
GUI automation moved this from In progress to Done May 29, 2021
Plugin: Satellites automation moved this from In progress to Done May 29, 2021
@axd1967
Copy link
Contributor Author

axd1967 commented May 29, 2021

The tab action can be changed with a property: TAB then just changes the focus.

I'm an avid keyboard user, so I was hesitating to enable this, because adding tabs in text could be interesting too, but it indeed stops further tabbing via keyboard.

There are more issues with tabbing, apparently the focus is not well visible, and there is probably an existing Qt bug that prevents toggling checkboxes with spacebar. Maybe Windows users can confirm that this is not a bug in Windows; but in KUbuntu it is a bit disappointing.

@gzotti
Copy link
Member

gzotti commented May 29, 2021

Maybe the GUI has been designed and implemented to hide tabbing artifacts (highlighting current item etc.) all those many years ago? Most of the GUI look&feel is legacy, and tab-related issues are indeed not my focus of interest.

@alex-w alex-w added the state: fixed The bug has been fixed label May 30, 2021
@alex-w alex-w removed the state: fixed The bug has been fixed label Jun 24, 2021
@github-actions
Copy link

Hello @axd1967! Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

@axd1967 axd1967 deleted the contrib/plugin/sat/qsplitter branch November 14, 2021 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality
Projects
GUI
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants