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

[BUG]: Creating a new label does not show in the correct position #978

Closed
Mitecon opened this issue Jun 9, 2023 · 0 comments
Closed

[BUG]: Creating a new label does not show in the correct position #978

Mitecon opened this issue Jun 9, 2023 · 0 comments
Assignees
Labels
Component-GUI Status-Fixed Ticket is resolved. Type-Defect This is BUG!!!
Milestone

Comments

@Mitecon
Copy link

Mitecon commented Jun 9, 2023

Brief description of the issue

When the setting:

View -> Show/hide -> Message viewer toolbars

is enabled, newly created labels do not show up in their alphabetical position.

How to reproduce the bug?

  • Create a label that will alphabetically be the first in the list
  • Look in the message viewer toolbar to see if the label is there
  • Click the button at the bottom to display all labels to see if the label is there

For me, the label does not display, even after exiting and restarting RSS Guard. This is due to having long label names which means I cannot see them all.

  • Right-click on an article and see if the label is in there in the menu

I created a label named '000 TEST' to force it to the beginning of the list because of #971.
The new label does show in the correct position in the right-click menu immediately - no restart needed.

I also created a label '000TEST2' to see if it was something to do with spaces in the label name but it made no difference.

What was the expected result?

Labels should display everywhere in their correct alphabetical position.

What actually happened?

The new label will show correctly in the list on the far left with feeds, categories and all other labels, as well as in the right-click on an article menu.

The label does not display in the expected position in the message viewer toolbar.

However, the label is actually there in the popup right at the end but depending on the length of label names, it might be too far along to see, due to #971.

I tested on the 'database.pre-populated.general.news.feeds.100.labels' database by adding a label called '000000TEST' which should have put it first in the list alphabetically. It is in the correct position everywhere except for the message viewer toolbar.

If I click the button at the bottom then, as can be seen in the screenshot, it's last in the list:

new-label-wrong-position-popup

In the list of labels on the far left, it is positioned correctly:

new-label-wrong-position-labels

Debug log

None needed.

Operating system and version

  • OS: Manjaro
  • RSS Guard version: rssguard-devbuild-30a471a6f-linux64.AppImage

I don't know when this began - I've never noticed this before. I also tried devbuild version a3442c1 and the problem exists there as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component-GUI Status-Fixed Ticket is resolved. Type-Defect This is BUG!!!
Projects
None yet
Development

No branches or pull requests

2 participants