A computer-implemented method performed by one or more processors of a device, characterized in that the method further comprises: presenting a plurality of open windows (106, 108, 110, 112) at various locations in a two-dimensional desktop environment; while the open windows (106, 108, 110, 112) are presented in the 2D desktop environment, detecting a user input to enter a three-dimensional desktop environment; in response to detecting the user input to enter the 3D desktop environment, transforming the 2D desktop environment into the 3D desktop environment; in the 3D desktop environment: grouping the plurality of open windows into one or more groups based on respective values of a grouping property associated with the plurality of open windows, each group of open windows sharing a common value for the grouping property; and causing each group of open windows to be presented in a respective 3D stack (136, 138, 140), where the respective 3D stack (136, 138, 40) includes representations of the open windows in the group and permits 3D user browsing through the representations, wherein only one of the representations is presented in a frontal view and one or more others of the representations are presented rotated by an angle about a respective axis parallel to a ground plane; the method being characterized in that, while in the 3D desktop environment: in response to a user interacting with a first group of open windows presented in a first 3D stack, displaying an application menu bar of a current active window of the first group of open windows at a designated menu location in the 3D desktop environment; in response to the user interacting with a second group of open windows presented in a second 3D stack, updating the application menu bar of the current active window of the first group of open windows to an application menu bar of a current active window of the second group of open windows and displaying the current active window of the second group of open windows in a frontal view without exiting the 3D desktop environment. grouping the plurality of open windows into one or more groups based on respective values of a grouping property associated with the plurality of open windows, each group of open windows sharing a common value for the grouping property; and causing each group of open windows to be presented in a respective 3D stack (136, 138, 140), where the respective 3D stack (136, 138, 40) includes representations of the open windows in the group and permits 3D user browsing through the representations, wherein only one of the representations is presented in a frontal view and one or more others of the representations are presented rotated by an angle about a respective axis parallel to a ground plane; the method being characterized in that, in response to a user interacting with a first group of open windows presented in a first 3D stack, displaying an application menu bar of a current active window of the first group of open windows at a designated menu location in the 3D desktop environment; in response to the user interacting with a second group of open windows presented in a second 3D stack, updating the application menu bar of the current active window of the first group of open windows to an application menu bar of a current active window of the second group of open windows and displaying the current active window of the second group of open windows in a frontal view without exiting the 3D desktop environment.