https://bugs.kde.org/show_bug.cgi?id=508431

            Bug ID: 508431
           Summary: After filtering, next/prev/first/last entry remain
                    disabled even if the current entry is no longer on the
                    edge of the new filtered list
    Classification: Applications
           Product: lokalize
      Version First 25.08.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: editor
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected], [email protected]
  Target Milestone: ---

SUMMARY
Sometimes the Previous/Next Entry and/or First/Last Entry actions just stop
working after changing the filtering text. This is because they are disabled
after selecting the first or last item in the filtered list, but this state
isn't updated when the filtered list changes.

The reproduction steps might be easier to understand.

STEPS TO REPRODUCE
1. Filter, then select the last filtered item. Notice that "Last Entry" and
"Next Entry" is grayed out.
2. Change the filter such that the currently selected item is no longer the
last filtered item.
3. Notice that "Last Entry" and "Next Entry" are still grayed out. Using their
keyboard shortcuts also don't work, because they are actually disabled.

Same thing happens for First Entry / Previous Entry if one selects the first
filtered item in the first step.

OBSERVED RESULT
After selecting the last filtered item, then changing the filter such that it
is no longer the last item in the new filtered list, the Next Entry and Last
Entry actions remain disabled.
After selecting the first filtered item, then changing the filter such that it
is no longer the first item in the new filtered list, the First Entry and
Previous Entry actions remain disabled.

EXPECTED RESULT
The First/Previous Entry and Last/Next Entry actions are never disabled when
there are still items before/after the current entry.

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.1
Kernel Version: 6.11.0-29-generic (64-bit)
Graphics Platform: Wayland
Lokalize Version: 25.11.70 (commit 004bd46166)

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to