Git Product home page Git Product logo

Comments (8)

zhuxb711 avatar zhuxb711 commented on June 6, 2024 1

这些问题呀要慢慢来,一个版本一个版本的去改,毕竟这就我一个人开发,一上来就关注到太多细节问题也不太现实。但总之还是谢谢您的建议啦,预计这个更改将会在下一个版本中上线。

from rx-explorer.

zhuxb711 avatar zhuxb711 commented on June 6, 2024

右键位置必须处于每一个文件的中间附近的区域才能够显示该文件/文件夹的菜单
这不是一个BUG,而是刻意为之。RX并不会像文件管理器那样给下方预留很多空间,因此若文件铺满整个页面时,没有办法点击空白处进而弹出空白区域的右键菜单,因此RX设计上就利用了文件和文件之间的区域,若单击这些地方,则会弹出空白区域的右键菜单。如下图,蓝色区域是该文件对应的右键菜单触发区域,红色是空白右键菜单触发区域(实际上的面积比蓝色部分要稍大一些,以下仅作示意)
image

至于右键菜单的快捷键BUG,应该是由于控件本身引起的,RX放手让控件自动完成,但似乎现在看来效果不佳,对于这个右键菜单的快捷键问题,RX将在下一个版本中对其进行修改,确保功能恢复正常

from rx-explorer.

all-aroundbadass avatar all-aroundbadass commented on June 6, 2024

这个右键菜单的弹出位置设计可以参考微软的资源管理器设计,当目录中的内容超出一屏高度的时候,将滚动条拉到底,微软的资源管理器也不会在下方留出多余的空白位置,他是在未选中某行的情况下,文字范围外的地方就是空白区域,选中某行的情况下,整行范围都可以弹出文件/文件夹菜单,也就是说你的蓝色区域包含了空白区域和文字范围区域,目前你的设计在用户操作的时候没有明显的范围区分,导致在文字外点击有时候会选中,有时候不会选中,很明显微软的细节处理会更好一些,实现上是不是可以先判断这行有没有选中,如果选中,那么红色区域都是文件/文件夹菜单,如果没有选中,则判断点击位置是否在文字范围内,这个文字范围包括了文件名的长度,修改日期、类型、大小这些文字的长度,在这范围内的选中整行的同时弹出对应的文件/文件夹菜单(蓝色区域划分成四块空白区域,四块选中区域),否则就弹出空白区域的菜单,当然弹出空白区域的菜单是不会选中当前行的

from rx-explorer.

zhuxb711 avatar zhuxb711 commented on June 6, 2024

GIF 2020-9-15 9-47-59
嘿你不说我还真没注意系统文件管理器是这样设计的,你想要的效果是这样的吧?

from rx-explorer.

all-aroundbadass avatar all-aroundbadass commented on June 6, 2024

是的,这从字面理解“空白位置点击右键”也好理解,怎么说呢,做一个好的产品,细节处理很重要,尤其用户体验这块,如果想做的完美一些,可以参考别人的设计,把人家好的设计吸收过来

from rx-explorer.

all-aroundbadass avatar all-aroundbadass commented on June 6, 2024

嗯,好的,我忘了提一下,可能管理器的右边要留出固定宽度做为空白区域,比如10%,而不是现在的选中行铺满整个窗口宽度,因为当你全选所有文件的时候,再想点击空白处取消全选,或者右击空白处弹出菜单就没法操作了,不然只能从“全选 -> 选中一个 -> 点击空白处取消所有文件选中”之间来回切换

from rx-explorer.

zhuxb711 avatar zhuxb711 commented on June 6, 2024

最右侧一直都有最少50像素宽度的空白用于取消选择

from rx-explorer.

zhuxb711 avatar zhuxb711 commented on June 6, 2024

版本5.3.6已解决该问题

from rx-explorer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.