» 您尚未登录:请 登录 | 注册 | 标签 | 帮助 | 小黑屋 |


发新话题
打印

[电脑] 用了一段时间win7,发现比XP易用性难用多了,真TMD烂

引用:
原帖由 jinwyp 于 2011-4-14 13:33 发表
3 资源管理器 左边的xp下点击一个文件夹会自动打开并滚动条滚到当前位置, win7可好每次都点一下滚动条不知道在哪了,在点下一个文件夹必须在滚一下滚动条到该位置上,
...
这个是Win7资源管理器的Bug,详细的介绍可以参考 http://www.codeproject.com/KB/shell/classicshell.aspx

原文如下:
Scroll Problems in Explorer

Another bug in Windows 7 Explorer involves expanding a folder in the navigation pane. If you select a folder that hasn't been expanded before, then expand it, the navigation pane will scroll all the way up to the top, then all the way down to the selected item. The result is that the selected item ends up near the bottom (not near the top as you would expect). What happens under the covers is that Explorer sends two TVM_ENSUREVISIBLE messages - first for the top item and second for the selected item. I have no clue what requires the first message to be sent. Maybe there is some weird situation where the scrolling to the top actually helps, but I haven't seen any.

To counter this bug, we can make the tree control ignore the first message:
Collapse
if (uMsg==TVM_ENSUREVISIBLE)
{
  HTREEITEM hItem=(HTREEITEM)lParam;
  if (!TreeView_GetParent(hWnd,hItem) &&
      !(TreeView_GetItemState(hWnd,hItem,TVIS_SELECTED)&TVIS_SELECTED))
    return 0;
}

Basically, it ignores TVM_ENSUREVISIBLE for the top level item if it is not selected. The assumption is that if Explorer really wants to focus on the top item, it will select it first.

Rant: First, there is the RBBS_BREAK bug, then status bar problems, then this. What's happening here? Did Microsoft hire an intern to finish Explorer in Windows 7? Was QA sleeping on the job? Explorer is the most commonly used application for Windows. It deserves more attention than that! I remember when Windows XP came out, the only bug in Explorer was that it didn't correctly redraw the corner between the horizontal and vertical scroll bars. Ah, the good old days. Now, I'm crossing my fingers and waiting for Win 7 SP1

但是SP1似乎并没有修正这个问题,如果实在觉得不爽可以装Classic Shell


TOP

发新话题
     
官方公众号及微博