[dolphin] [Bug 444680] New: Right clicking on header shows file context-menu instead of column role context-menu

2021-10-30 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444680

Bug ID: 444680
   Summary: Right clicking on header shows file context-menu
instead of column role context-menu
   Product: dolphin
   Version: 21.08.2
  Platform: Neon Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: view-engine: details mode
  Assignee: dolphin-bugs-n...@kde.org
  Reporter: tom91...@gmail.com
CC: kfm-de...@kde.org
  Target Milestone: ---

SUMMARY

In details view, if a highlighted item is directly behind (obstructed by) the
header, right-clicking in the header within the obstructed highlight rect will
trigger the item's context-menu and not the header's.

STEPS TO REPRODUCE
1. Toggle details view and navigate to some location that allows scrolling.
2. Highlight any item and scroll the panel such that the highlighted item gets
covered by the header.
3. Right click on the header at the covered item's *highlighted* rectangular
region. Note that this only occurs in the highlight rect, and not anywhere in
the row.

OBSERVED RESULT

The context-menu of the selected item gets triggered.

EXPECTED RESULT

The header's role configuration menu (the menu to show/hide columns, etc.)
should be triggered.

This is reproducible in both 21.08.2 and 21.08.0, I have not tested this on any
other version yet.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

[dolphin] [Bug 444680] Right clicking on header shows file context-menu instead of column role context-menu

2021-10-30 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444680

--- Comment #1 from Tom Lin  ---
Testing a bit more, it's not necessary to highlight anything.
The bug occurs if you simply right-click on the header in a location that needs
scrolling. Essentially, file item's text (and not the entire row) rect hit
check was done before the header's so the click events gets swallowed.

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

[dolphin] [Bug 444680] Right clicking on header shows file context-menu instead of column role context-menu

2021-10-30 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444680

--- Comment #2 from Tom Lin  ---
This issue is most obvious if
https://invent.kde.org/system/dolphin/-/merge_requests/278 gets merged, I've
added a fix in that MR for now.

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

[dolphin] [Bug 444753] New: Detail view with a single column is missing right padding to fill the viewport

2021-10-31 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444753

Bug ID: 444753
   Summary: Detail view with a single column is missing right
padding to fill the viewport
   Product: dolphin
   Version: 21.08.2
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: view-engine: details mode
  Assignee: dolphin-bugs-n...@kde.org
  Reporter: tom91...@gmail.com
CC: kfm-de...@kde.org
  Target Milestone: ---

Created attachment 143079
  --> https://bugs.kde.org/attachment.cgi?id=143079&action=edit
screenshot

SUMMARY

Detail view with only single column (i.e only the `Name` column) is missing
right padding to fill the viewport.
This correct behaviour is restored once > 1 columns are enabled.
Also, when this bug is triggered, the alternating row colours disappear.

STEPS TO REPRODUCE
1. Right click on the header to disable all columns

OBSERVED RESULT

Column header doesn't pad to the right.
Alternating row colour missing.


EXPECTED RESULT

This should behave like having any other amount of columns enabled.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

[dolphin] [Bug 444753] Detail view with a single column is missing right padding to fill the viewport

2021-10-31 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444753

--- Comment #1 from Tom Lin  ---
Created attachment 143080
  --> https://bugs.kde.org/attachment.cgi?id=143080&action=edit
normal

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

[dolphin] [Bug 444753] Detail view with a single column is missing right padding to fill the viewport

2021-11-01 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444753

Tom Lin  changed:

   What|Removed |Added

   Assignee|dolphin-bugs-n...@kde.org   |tom91...@gmail.com

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

[dolphin] [Bug 444680] Right clicking on header shows file context-menu instead of column role context-menu

2021-11-01 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444680

Tom Lin  changed:

   What|Removed |Added

 CC||tom91...@gmail.com

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

[dolphin] [Bug 444680] Right clicking on header shows file context-menu instead of column role context-menu

2021-11-01 Thread Tom Lin
https://bugs.kde.org/show_bug.cgi?id=444680

Tom Lin  changed:

   What|Removed |Added

   Assignee|dolphin-bugs-n...@kde.org   |tom91...@gmail.com

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