Search

EP-4742018-A1 - FOLDER INTERACTION METHOD AND RELATED APPARATUS

EP4742018A1EP 4742018 A1EP4742018 A1EP 4742018A1EP-4742018-A1

Abstract

Embodiments of this application provide a folder interaction method and a related apparatus. According to the method, a user can directly long press an icon of a target application in a large folder to invoke a corresponding application shortcut menu, without expanding the large folder. In addition, the user may also directly long press the icon of the target application in the large folder to move a position of the icon of the target application in the large folder or drag the icon of the target application out of the large folder, without expanding the large folder. In addition, the user may also directly swipe up at the icon of the target application in the large folder to invoke a corresponding service widget, without expanding the large folder. In this way, user operations are simpler and faster, thereby enhancing user experience.

Inventors

  • CHEN, FENGTING

Assignees

  • Huawei Technologies Co., Ltd.

Dates

Publication Date
20260513
Application Date
20250325

Claims (16)

  1. A folder interaction method, comprising: displaying, by an electronic device, a desktop, wherein the desktop comprises a large folder, the large folder comprises an icon of a first application and an icon of a second application, the desktop further comprises an icon of a third application, and the large folder does not comprise the icon of the third application; receiving, by the electronic device, a first operation performed by a user on the desktop; and in response to the first operation, moving, by the electronic device, the icon of the first application from a first position to a second position.
  2. The method according to claim 1, wherein the first position and the second position are positions in the large folder, and the first position and the second position are different; or the first position is a position in the large folder, and the second position is outside the large folder and is a position on the desktop; and after the icon of the first application is moved from the first position to the second position, the icon of the first application is no longer displayed in the large folder.
  3. The method according to claim 2, wherein the first operation is an operation of long pressing the icon of the first application and moving the icon of the first application in the large folder; or the first operation is an operation of long pressing the icon of the first application and moving the icon of the first application out of the large folder.
  4. The method according to claim 3, wherein when the large folder comprises only the icon of the first application and the icon of the second application, the second position is outside the large folder and is the position on the desktop, and after moving, by the electronic device, the icon of the first application from the first position to the second position, the method further comprises: no longer displaying, by the electronic device, the large folder, and displaying the icon of the second application at a third position on the desktop.
  5. The method according to claim 3, wherein the large folder further comprises an icon of a fourth application, and the method further comprises: when the electronic device displays the desktop, detecting, by the electronic device, a second operation performed by the user on the icon of the second application in the large folder; and in response to the second operation, displaying, by the electronic device, a shortcut menu of the second application, wherein the shortcut menu of the second application comprises one or more function options provided by the second application.
  6. The method according to claim 5, wherein the second operation is an operation of long pressing the icon of the second application.
  7. The method according to claim 6, wherein after detecting, by the electronic device, the second operation performed by the user on the desktop, the method further comprises: in response to the second operation, further displaying, by the electronic device, a shortcut menu of the large folder, wherein the shortcut menu of the large folder comprises one or more function options for the large folder.
  8. The method according to claim 7, further comprising: when the electronic device displays the desktop, detecting, by the electronic device, a third operation performed on the icon of the fourth application in the large folder; and displaying, by the electronic device, a service widget of the fourth application in response to the third operation.
  9. The method according to claim 8, wherein the third operation is an operation of long pressing the icon of the fourth application and swiping up.
  10. The method according to claim 9, wherein displaying, by the electronic device, the service widget of the fourth application specifically comprises: displaying, by the electronic device, the service widget of the fourth application above the large folder in an overlay manner.
  11. The method according to any one of claims 1 to 10, wherein before displaying, by the electronic device, the large folder on the desktop, the method further comprises: displaying, by the electronic device, a small folder, wherein the small folder comprises the icon of the first application and the icon of the second application; and receiving a fourth operation of displaying the small folder as a large folder by the user; and in response to the fourth operation, displaying, by the electronic device, the large folder, wherein the large folder comprises the icon of the first application and the icon of the second application, a size of the icon of the first application in the large folder is greater than a size of the icon of the first application in the small folder, and a size of the icon of the second application in the large folder is greater than a size of the icon of the second application in the small folder.
  12. The method according to claim 11, wherein after displaying, by the electronic device, the large folder on the desktop, the method further comprises: detecting, by the electronic device, a fifth operation performed on the icon of the third application; and displaying, by the electronic device, the icon of the third application in the large folder in response to the fifth operation.
  13. An electronic device, comprising a display, one or more processors, and one or more memories, wherein the display and the one or more memories are coupled to the one or more processors, the one or more memories are configured to store computer program code, the computer program code comprises computer instructions, and when the one or more processors execute the computer instructions, the method according to any one of claims 1 to 12 is performed.
  14. A chip system, wherein the chip system is used in an electronic device, the chip system comprises one or more processors, and the processor is configured to invoke computer instructions, so that the method according to any one of claims 1 to 12 is performed.
  15. A computer-readable storage medium, comprising instructions, wherein when the instructions are run on an electronic device, the method according to any one of claims 1 to 12 is performed.
  16. A computer program product, comprising a computer program/instructions, wherein when the computer program/the instructions are run on an electronic device, the electronic device is enabled to perform the method according to any one of claims 1 to 12.

Description

This application claims priority to Chinese Patent Application No. 202410384707.0, filed with the China National Intellectual Property Administration on March 28, 2024 and entitled "FOLDER INTERACTION METHOD AND RELATED APPARATUS", which is incorporated herein by reference in its entirety. TECHNICAL FIELD This application relates to the field of terminals and terminal technologies, and in particular, to a folder interaction method and a related apparatus. BACKGROUND Currently, application icons may be displayed on a desktop of an electronic device like a mobile phone or a tablet of a user. To implement classified management of different types of application icons, a folder is provided on the desktop of the electronic device. One or more application icons may be placed in the folder. For a large folder, the user may directly tap an application icon in the large folder to start a corresponding application. Currently, if the user wants to use an application shortcut menu corresponding to the application icon in the large folder or move a position of the application icon, the user needs to first expand the large folder, then locate the corresponding application icon, and perform a related operation to invoke the application shortcut menu or move the position of the application icon. This makes user operations cumbersome and affects user experience. SUMMARY This application provides a folder interaction method and a related apparatus. According to the method, a user can directly perform an operation on an application icon in a large folder without expanding the large folder, for example, long pressing the application icon to invoke an application shortcut menu, or long pressing and moving the application icon. In this way, user operations can be simplified, thereby improving user experience. According to a first aspect, this application provides a folder interaction method. The method may include: An electronic device displays a desktop. The desktop includes a large folder, the large folder includes an icon of a first application and an icon of a second application, the desktop further includes an icon of a third application, and the large folder does not include the icon of the third application. The electronic device receives a first operation performed by a user on the desktop. In response to the first operation, the electronic device moves the icon of the first application from a first position to a second position. In this way, the user may directly move a position of the first application in the large folder, without expanding the large folder on the desktop. The user does not need to first expand the large folder and then move a position of an application icon, which simplifies user operations, thereby improving user experience. With reference to the first aspect, in a possible implementation, the first position and the second position are positions in the large folder, and the first position and the second position are different. Alternatively, the first position is a position in the large folder, and the second position is outside the large folder and is a position on the desktop. After the icon of the first application is moved from the first position to the second position, the icon of the first application is no longer displayed in the large folder. With reference to the first aspect, in a possible implementation, the first operation is an operation of long pressing the icon of the first application and moving the icon of the first application in the large folder; or the first operation is an operation of long pressing the icon of the first application and moving the icon of the first application out of the large folder. In this way, the user may adjust a position of the icon of the first application in the large folder or move the icon of the first application out of the large folder, without expanding the large folder on the desktop. The user does not need to first expand the large folder and then adjust the position of the icon of the first application in the large folder, and the user does not need to first expand the large folder and then move the icon of the first application out of the large folder. In this way, user operations can be simplified, thereby improving user experience. With reference to the first aspect, in a possible implementation, when the large folder includes only the icon of the first application and the icon of the second application, the second position is outside the large folder and is the position on the desktop, and after the electronic device moves the icon of the first application from the first position to the second position, the method may further include: The electronic device no longer displays the large folder, and displays the icon of the second application at a third position on the desktop. In this way, when there are only two application icons in the large folder, the user may move out one application icon without expanding the large folder, so that the elec