Bug 256297 - Plasma: Folder View: Icon displays 'pressed' on non-activating clicks
Summary: Plasma: Folder View: Icon displays 'pressed' on non-activating clicks
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-07 12:20 UTC by Lindsay Roberts
Modified: 2010-11-12 23:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Don't scale until activating mouse press (884 bytes, patch)
2010-11-07 12:31 UTC, Lindsay Roberts
Details
Don't scale until activating mouse press [r2] (886 bytes, patch)
2010-11-07 12:42 UTC, Lindsay Roberts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lindsay Roberts 2010-11-07 12:20:58 UTC
Version:           unspecified (using Devel) 
OS:                Linux

The folder view employs a 'pressed' effect to show when an icon is activated. This works as expected when global settings are set to single click: the icon is scaled to 90% on press, and rescales back up on activate.

Under double click the icon scales on the first click, and weirdly stays scaled until the mouse leaves the hover area.

Further, the same issue applies when modifier keys are used to change selection.

Reproducible: Always

Steps to Reproduce:
Set mouse to double click in global preferences. Single click an icon in a folder view. Alternately: use ctrl- or shift- click on an icon.

Actual Results:  
Icon scales to 90% and stays that way until mouse leaves the icon boundary completely.

Expected Results:  
Icon should only scale on the press of the second mouse click.
Comment 1 Lindsay Roberts 2010-11-07 12:31:47 UTC
Created attachment 53218 [details]
Don't scale until activating mouse press

This patch doesn't scale the icon when a) shift or ctrl are held, and b) on the first click when double click is enabled.
Comment 2 Lindsay Roberts 2010-11-07 12:42:48 UTC
Created attachment 53219 [details]
Don't scale until activating mouse press [r2]

Tiny update: match indentation
Comment 3 Aaron J. Seigo 2010-11-12 23:16:46 UTC
SVN commit 1196275 by aseigo:

fix clicked painting when set to double click, patch by Lindsay Roberts
BUG:256297


 M  +7 -0      iconview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1196275