[Libreoffice-bugs] [Bug 133891] New: GalleryIconView should Select items on MouseButtonDown
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 11 10:58:54 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=133891
Bug ID: 133891
Summary: GalleryIconView should Select items on MouseButtonDown
Product: LibreOffice
Version: 7.1.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: himajin100000 at gmail.com
Description:
See steps to reproduce
Steps to Reproduce:
Steps A:
0. Preferable if profile is reset. (because the gallery is a new feature and
with data, but its preset items may not be copied to your profile if the
profile is not renewed.)
1. Open Writer
2. Select "Gallery" from sidebar icons
3. Select something, namely "Arrows" from the listbox
4. Click "Icon View" button below the listbox.
5. Trigger MouseButtonDown on an item with a tooltip "curved-left-arrow"
5-a. DONT trigger MouseButtonUp on the Icon View.
6-a. Do nothing
7. Start Dragging the item to the document, and you can unhold the left mouse
button.
====================
Steps B( for comparison)
0. Preferable if profile is reset.
1. Open Writer
2. Select "Gallery" from sidebar icons
3. Select something, namely "Arrows" from the listbox
4. Click "Icon View" button below the listbox.
5. Trigger MouseButtonDown on an item with a tooltip "curved-left-arrow"
5-b. DO trigger MouseButtonUp on the Icon View.
6-b. Trigger MouseButtonDown again on an item with a tooltip
"curved-left-arrow"
7. Start Dragging the item to the document, and you can unhold the left mouse
button.
Actual Results:
Steps A:
the first item "curved-right-arrow" is inserted.
Steps B:
"curved-left-arrow" is inserted. Works as Expected
Expected Results:
"curved-left-arrow" is inserted
Reproducible: Always
User Profile Reset: Yes
Additional Info:
https://opengrok.libreoffice.org/xref/core/svx/source/gallery2/galbrws2.cxx?r=b512ce25#336
https://opengrok.libreoffice.org/xref/core/svx/source/gallery2/galbrws2.cxx?r=b512ce25#369
inherits the ValueSet class
https://opengrok.libreoffice.org/xref/core/include/svx/galctrl.hxx?r=d26d1da8#89
the eventhandler is called on MouseButtonUp, not MouseButtonDown
https://opengrok.libreoffice.org/xref/core/svtools/source/control/valueset.cxx?r=d6c32cff#495
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200611/c37c6704/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list