Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,105
    • Issues 2,105
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #39325
Closed
Open
Created Aug 11, 2021 by K H@d7_2_laz

Virtual listview, MultiSelect: problem: only one item in the list: after click on empty space this single item keeps to stay selected

  • Lazarus/FPC Version: <Lazarus 2.2.0RC1 r65419 FPC 3.2.2 x86_64-win64-win32/win64_> (Copy from Menu -> Help -> About Lazarus -> Button "Copy version information to clipboard")
  • Operating System: <Windows 10 x64>
  • CPU / Bitness: <64> (64 or 32 Bit?)

What happens

< Lazarus 2.2 RC, Windows x84: Virtual listview, MultiSelect: Scenario that the list contains only one item. Select this single item, then click on empty space ("nowhere""): the item will keep "item.selected" is true See the attached test project.

What did you expect

<When clicking to nowwhere (empty area), the single item in the listview does not stay to be selected>

Steps to reproduce

<Use the test project attached Select this single item, then click on empty space ("nowhere""). Look if a message box does appear telling you that the item will keep "item.selected" is true listview_virtualMode_multiselect_selected_behaviour_singleItem.zip

// Please choose and add the following labels as appropriate: // - "Version::.." // - "Category::> // - "WS:_" if and only if you tested with different Widgetset, and if only one/some is/are affected // - "Severity::Crash" if the issue causes a crash. Otherwise any severity added, will be removed.

Assignee
Assign to
Time tracking