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

            Bug ID: 485210
           Summary: Split View dropdown menu actions of an inactive
                    special  (diff) view act on active view
    Classification: Applications
           Product: kate
           Version: 24.02.1
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: groszdaniel...@gmail.com
  Target Milestone: ---

SUMMARY
Normally, the actions in the small Split View dropdown menu at the end of a tab
bar or navigation bar act on the split view the tool button belongs to,
regardless of which view is active (as is expected if there's a separate menu
for each split view). However, if that split view has a special view (a diff,
Welcome, or an expanded Find in Files result view), and another split is
active, the actions act on the active view.

Curiously, clicking inside a diff view, and then on the Split View menu button,
makes the menu act on the diff view, even though clicking inside the diff view
doesn't activate it for all purposes (see Bug 485209).

STEPS TO REPRODUCE
1. Create a split (I used Split Vertical).
2. Open a diff view (I did it using the Git sidebar).
3. Click inside another split view (which contains a regular editor).
4. Click on the small Split View icon at the end of the tab bar of the diff
view.
5. Click Hide Inactive Views (or Split Horizontal etc.)

OBSERVED RESULT
The view in the other side (not the diff view) of the split fills the window
(or gets further split horizontally etc).

EXPECTED RESULT
The diff view fills the window (or gets further split horizontally etc).

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240404
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Kernel Version: 6.8.2-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Seems related to Bug 485209.

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

Reply via email to