CN110286819B - Window management method and computing device - Google Patents

Window management method and computing device Download PDF

Info

Publication number
CN110286819B
CN110286819B CN201910554053.0A CN201910554053A CN110286819B CN 110286819 B CN110286819 B CN 110286819B CN 201910554053 A CN201910554053 A CN 201910554053A CN 110286819 B CN110286819 B CN 110286819B
Authority
CN
China
Prior art keywords
window
management control
preset
state management
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910554053.0A
Other languages
Chinese (zh)
Other versions
CN110286819A (en
Inventor
舒乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Deepin Technology Co ltd
Original Assignee
Wuhan Deepin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Deepin Technology Co ltd filed Critical Wuhan Deepin Technology Co ltd
Priority to CN201910554053.0A priority Critical patent/CN110286819B/en
Priority to CN202110670853.6A priority patent/CN113296651A/en
Publication of CN110286819A publication Critical patent/CN110286819A/en
Application granted granted Critical
Publication of CN110286819B publication Critical patent/CN110286819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a window management method, which is executed in computing equipment and comprises the following steps: when the window is in a maximized state, monitoring the position of a mouse pointer in a screen; when the mouse pointer is positioned in the preset area, displaying a state management control of a preset style in the preset area; and responding to the clicking operation of the user on the state management control, and setting the state of the window. The invention also discloses corresponding computing equipment.

Description

Window management method and computing device
Technical Field
The invention relates to the technical field of graphical interface display, in particular to a window management method and computing equipment.
Background
The application window is usually provided with minimize, maximize/restore, close, etc. buttons to allow the user to adjust the display state of the window on the desktop. In the Linux operating system, different graphical programming languages adopted by the application programs are different, and different graphical programming languages have larger difference on interface display, so that the display positions of the buttons on different application program windows are not uniform, and the convenience and consistency of operating the windows by a user are reduced. For example, for applications written in GTK2 and the traditional QT language, the window button is typically located in the upper right or upper left corner of the window; in the application program written in the GTK3 language, the window button is usually located in the middle of the left side or the middle of the right side of the window, and the style sizes of the window buttons of different application programs are not necessarily the same, so that a user needs to move a mouse to different areas for window operation aiming at different application programs, the operation is inconvenient, and the user experience is reduced.
One possible solution to the above problem is to use a shortcut key for the windowing. However, the use of the shortcut keys has a certain threshold, and the user needs to learn and memorize the corresponding shortcut key combination, so that the usability is poor. In addition, the shortcut key has no unified standard, for example, the shortcut key for closing the window may be CTRL + W, ALT + F4, etc., most applications only support one kind of shortcut key, and are not strictly consistent with each other, and the user may make an erroneous attempt in actual use to cause the window operation to fail.
Disclosure of Invention
To this end, the present invention provides a window management method and computing device in an attempt to solve or at least alleviate the above-identified problems.
According to a first aspect of the present invention, there is provided a window management method, executed in a computing device, the method comprising: when the window is in a maximized state, monitoring the position of a mouse pointer in a screen; when the mouse pointer is located in a preset area, displaying a state management control of a preset style in the preset area; and responding to the clicking operation of the user on the state management control, and setting the state of the window.
Optionally, in the window management method according to the present invention, the preset area is a rectangular area located at the upper right corner of the screen.
Optionally, in the window management method according to the present invention, the state management control includes at least one of a minimize button, a restore button, and a close button; accordingly, the state of the window includes at least one of minimize, restore, close.
Optionally, in the window management method according to the present invention, the step of displaying a state management control of a preset style in a preset region when the mouse pointer is located in the preset region includes: and when the duration of the mouse pointer in the preset area is greater than the threshold value, displaying a state management control of a preset style in the preset area.
Optionally, in the window management method according to the present invention, the step of displaying a state management control of a preset style in the preset area further includes: and hiding the original state management control on the window.
Optionally, in the window management method according to the present invention, the step of setting the state of the window includes: and determining a process corresponding to the window, and sending a state setting message to the process so that the process can set the window to be in a corresponding state.
Optionally, in the window management method according to the present invention, further comprising: and hiding the state management control of the preset style after the mouse pointer moves out of the preset area.
Optionally, in the window management method according to the present invention, the step of hiding the state management control of the preset style further includes: and displaying the original state management control on the window.
Alternatively, in the window management method according to the present invention, the execution is performed by a window management program.
According to a second aspect of the invention, there is provided a computing device comprising: at least one processor; and a memory storing program instructions comprising a window management program that, when read and executed by the processor, causes the computing device to perform the window management method as described above.
According to a third aspect of the present invention, there is provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the window management method as described above.
According to the window management method, the position of a mouse pointer in a screen is monitored when a window is in a maximized state. And when the user moves the mouse pointer to a preset area on the screen, displaying a state management control of a preset style in the preset area. The user can set the state of the window correspondingly by clicking the state management control. The window management method realizes the unification of the display position (namely the preset area of the screen) and the display style (namely the preset style) of the state management control, and improves the operation efficiency and the user experience.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention;
FIG. 2 shows a flow diagram of a window management method 200 according to one embodiment of the invention;
FIG. 3 shows a schematic diagram of a desktop including a window A, B, C, according to one embodiment of the invention;
FIG. 4 illustrates a window stack corresponding to the desktop shown in FIG. 3;
FIG. 5 shows a schematic diagram of window B in a maximized state, according to one embodiment of the invention;
FIG. 6 is a diagram illustrating a mouse pointer located in a preset area according to one embodiment of the present invention;
fig. 7 is a diagram illustrating a state management control displaying a preset style in a preset region according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Aiming at the problems in the prior art, the invention provides a window management method, which is used for realizing the unification of the display positions and the display styles of state management controls of different application programs and improving the window operation efficiency and the user experience.
The window management method of the present invention is performed in a computing device. The computing device may be any device having storage and computing capabilities, and may be, for example, a personal computer such as a desktop computer and a notebook computer, a computer with a higher hardware configuration such as a workstation and a server, or a mobile terminal such as a mobile phone, a tablet computer, and a smart wearable device, but is not limited thereto.
FIG. 1 shows a schematic diagram of a computing device 100, according to one embodiment of the invention. It should be noted that the computing device 100 shown in fig. 1 is only an example, and in practice, the computing device for implementing the window management method of the present invention may be any type of device, and the hardware configuration thereof may be the same as or different from that of the computing device 100 shown in fig. 1. In practice, the computing device implementing the window management method of the present invention may add or delete hardware components of the computing device 100 shown in fig. 1, and the present invention does not limit the specific hardware configuration of the computing device.
As shown in FIG. 1, in a basic configuration 102, a computing device 100 typically includes a system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between the processor 104 and the system memory 106.
Depending on the desired configuration, the processor 104 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a Digital Signal Processor (DSP), or any combination thereof. The processor 104 may include one or more levels of cache, such as a level one cache 110 and a level two cache 112, a processor core 114, and registers 116. The example processor core 114 may include an Arithmetic Logic Unit (ALU), a Floating Point Unit (FPU), a digital signal processing core (DSP core), or any combination thereof. The example memory controller 118 may be used with the processor 104, or in some implementations the memory controller 118 may be an internal part of the processor 104.
Depending on the desired configuration, system memory 106 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 106 may include an operating system 120, one or more applications 122, and program data 124. In some implementations, the application 122 can be arranged to execute instructions on an operating system with program data 124 by one or more processors 104.
Computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus/interface controller 130. The example output device 142 includes a graphics processing unit 148 and an audio processing unit 150. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 158. An example communication device 146 may include a network controller 160, which may be arranged to facilitate communications with one or more other computing devices 162 over a network communication link via one or more communication ports 164.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In the computing device 100 according to the invention, the application 122 includes a window manager 128. The window manager 128, also known as a window manager, manages windows, such as controlling the appearance of windows, the display location in the screen, and providing the user with a method of operating windows. In an embodiment of the present invention, the window management program 128 includes instructions for executing the window management method 200 of the present invention, and the instructions may instruct the processor 104 to execute the window management method 200 of the present invention, so that the state management controls of different windows have uniform display positions and display styles, thereby improving window operation efficiency and user experience.
FIG. 2 shows a flow diagram of a window management method 200 according to one embodiment of the invention. The method 200 is performed in a computing device (e.g., the aforementioned computing device 100), and in particular, the method 200 is performed by a window management program (i.e., a window manager) in the computing device. As shown in fig. 2, the method 200 begins at step S210.
In step S210, the position of the mouse pointer in the screen is monitored when the window is in the maximized state.
The window in step S210 is a window currently being operated by the user, i.e., a currently active window. The window manager typically employs a window stack to manage windows that have been opened, with the currently active window at the top of the window stack. For example, in an X11 system, the currently ACTIVE WINDOW, i.e., the WINDOW at the top of the WINDOW stack, can be determined by reading the value of the _ NET _ ACTIVE _ WINDOW attribute of the RootWindow.
After the current active window is determined, the display state attribute value of the window is further read, so that the display state of the window is determined. The display states of the window generally include maximum (Maximized), minimum (Minimized), and reduced (Normal, the size of the window lying between the Minimized and Maximized) states.
And when the current active window is determined to be in the maximized state, monitoring the position of a mouse pointer in the screen. It should be noted that the mouse of the present invention may be implemented as a wired or wireless mouse device, and may also be implemented as a touch pad. According to one embodiment, the position of the mouse pointer in the screen may be obtained by calling a corresponding method, for example, calling a GetCursorPos () function.
Subsequently, in step S220, when the mouse pointer is located in the preset region, the state management control of the preset style is displayed in the preset region.
It should be noted that the preset area is a screen area preset by a person skilled in the art, and may be located at any position of the screen, or may be in any shape and any size. According to one embodiment, the preset area is a rectangular area located in the upper right corner of the screen.
The preset style is a display style of the state management control preset by a person skilled in the art, and the display style includes, for example, but not limited to, attributes of a shape, a size, an icon color, a background color, and the like of the state management control. The person skilled in the art can set the attributes of the preset style by himself, and the specific setting condition of the preset style is not limited by the present invention.
And when the user moves the mouse pointer to the preset area, displaying the state management control of the preset style in the preset area. The state management control is an interface for setting the display state of the window, and a user can set the window to a corresponding display state by operating the state management control. The state management controls may be, for example, but not limited to, a minimize button, a restore button, and a close button. Accordingly, the state of the window includes minimize, restore, close, and the like. The user can set the window to the minimized state by clicking the minimize button; by clicking the restore button, the display size of the window can be restored to the size before maximization; by clicking the close button, the window can be closed.
According to an embodiment, when the mouse pointer is monitored to be located in the preset area, the state management control of the preset style can be displayed in the preset area immediately.
It is considered that, in the actual use process, the user may accidentally move the mouse pointer to the preset region without adjusting the display state of the window, that is, the user does not trigger the display of the state management control of the preset style. Therefore, according to an embodiment, in order to avoid a misoperation that a user accidentally moves a mouse pointer to a preset region, when it is monitored that the mouse pointer is located in the preset region, the state management control is not immediately displayed in the preset region, but the position of the mouse pointer is continuously monitored, when the duration that the mouse pointer is located in the preset region is greater than a threshold value, the user is considered to have an intention of adjusting the display state of the window, and the state management control in the preset style is displayed in the preset region. The threshold value can be set by a person skilled in the art, and the value of the threshold value is not limited by the invention.
According to the code writing condition of the application program, the window of the application program may be originally provided with a state management control at a certain position. For example, for applications written in GTK2 and the traditional QT language, the state management controls are typically located in the upper right or upper left corner of the window; for applications written in the GTK3 language, the state management controls are typically located in the middle left or right of the window.
The state management control of the preset style in step S220 is triggered and displayed by the window manager when the window is maximized and the mouse pointer is located in the preset area. In order to avoid the conflict between the state management control of the preset style in step S220 and the original state management control on the window, which may cause confusion and misunderstanding of the user, according to an embodiment, step S220 further includes: the original state management control on the window is hidden, so that only one group of state management controls are displayed on the window, and the user can understand and operate conveniently. Specifically, when the mouse pointer is located in the preset area, the two steps of displaying the state management control of the preset pattern and hiding the original state management control on the window can be performed simultaneously, or can be performed according to any sequence (for example, the state management control of the preset pattern is displayed first, then the original state management control on the window is hidden, or the original state management control on the window is hidden first, then the state management control of the preset pattern is displayed), and the execution sequence of the state management control of the preset pattern are not limited.
Subsequently, in step S230, in response to the click operation of the state management control by the user, the state of the window is set.
According to an embodiment, after the user clicks the state management control, the window manager determines a process corresponding to the window, and sends a state setting message to the process, so that the process sets the window to a corresponding state. For example, after the user clicks the close button, the state manager determines the current ACTIVE WINDOW by reading the _ NET _ ACTIVE _ WINDOW attribute value of RootWindow, and determines the process corresponding to the WINDOW. The window manager then sends a window close message to the process so that the process closes the window.
According to an embodiment, the method 200 further comprises step S240.
In step S240, after the mouse pointer moves out of the preset area, the state management control of the preset style is hidden. According to an embodiment, step S240 further comprises: and displaying the original state management control on the window. Specifically, after the mouse pointer moves out of the preset area, the step of hiding the state management control of the preset style and the step of hiding the original state management control on the display window may be performed simultaneously, or may be performed according to any sequence (for example, the state management control of the preset style is hidden first, and then the original state management control on the display window is displayed, or the original state management control on the display window is displayed first, and then the state management control of the preset style is hidden), and the execution sequence of the state management control and the state management control of the preset style is not limited by the present invention.
According to the window management method, when the window is in the maximized state, the state management control of the preset pattern can be triggered to display in the preset area by moving the mouse pointer to the preset area on the screen. The user can set the state of the window correspondingly by clicking the state management control. The window management method realizes the unification of the display position (namely the preset area of the screen) and the display style (namely the preset style) of the state management control, and improves the operation efficiency and the user experience.
The window management method of the present invention is described below with reference to an embodiment.
FIG. 3 shows a schematic diagram of a desktop including A, B, C windows. For simplicity of the drawings and the text description, desktop elements such as a start menu, a task bar, and a shortcut icon of an application program are omitted from the desktop illustrated in fig. 3. FIG. 4 illustrates a window stack corresponding to the desktop shown in FIG. 3.
In the present embodiment, the preset region 350 is set to be a rectangular region located at the upper right corner of the screen.
In fig. 3, the state management controls (including the minimize button, the maximize/restore button, and the close button) of window A, B, C are located in various positions. The state management control 310 of window a is located in the upper right corner of the window, the state management control 320 of window B is located in the middle left of the window, and the state management control 330 of window C is located in the middle right of the window. In addition, the styles of the state management controls of the three windows, such as the color, size, background color, and the like of the controls, are not all the same.
In the desktop shown in fig. 3, the window B is a window currently being operated by the user, i.e., a currently active window. As shown in fig. 4, the currently active window B is at the top of the window stack.
In FIG. 3, windows A-C are all in a restored state, and the window manager does not perform the window management method 200 of the present invention. That is, the window manager does not monitor the position of the mouse pointer 340 at this time, and no matter where the user moves the mouse pointer 340 to the screen, the window manager does not trigger the preset region 350 to display the state management control of the preset style.
When the user clicks the maximize button in the state management control 320 of the window B to maximize the window B, as shown in fig. 5, only one window of the window B is displayed on the desktop, and the position of the state management control 320 of the window B is unchanged and still located in the middle of the left side of the window.
When the window B is maximized, the window manager starts to execute the window management method 200 of the present invention, specifically, to execute step S210, and to monitor the position of the mouse pointer 340 in the screen.
As shown in fig. 5, when it is monitored that the mouse pointer 340 is located outside the preset area 350, the window B still displays the original state management control 320 located in the middle of the left side of the window. As shown in fig. 6, after it is monitored that the mouse pointer 340 is located in the preset area 350, the state management control 710 of the preset style is displayed in the preset area 350, and the state management control 320, originally located in the middle of the left side of the window B, is hidden. The display effect of state management control 710 and the hiding effect of state management control 320 are shown in fig. 7.
In fig. 7, the preset area 350 displays the state management control 710 with the preset style, and the original state management control 320 of the window B is hidden. As shown in fig. 7, the state management control 710 includes a minimize button 712, a restore button 714, and a close button 716, and the user can set the window B to a minimize, restore, and close state by clicking on the buttons. When the user moves the mouse pointer 340 out of the preset area 350, the state management control 710 will be hidden, the original state management control 320 of the window B will be displayed again, and the hiding effect of the state management control 710 and the display effect of the state management control 320 are as shown in fig. 5.
A11, a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the window management method of any of claims 1-9.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the window management method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense with respect to the scope of the invention, as defined in the appended claims.

Claims (10)

1. A window management method, performed in a window manager of a computing device, the method comprising:
determining a current active window from a window stack corresponding to a desktop;
when the current active window is in a maximized state, monitoring the position of a mouse pointer in a screen; when the mouse pointer is located in a preset area, displaying a preset-style state management control in the preset area, and hiding an original state management control on the current active window, wherein the preset-style state management control is different from the original state management control, the original state management controls of different application program windows can be in various positions, and the styles are not necessarily the same;
and responding to the clicking operation of the user on the state management control, and setting the state of the window.
2. The method of claim 1, wherein the preset area is a rectangular area located at the upper right corner of the screen.
3. The method of claim 1, wherein the state management control comprises at least one of a minimize button, a restore button, a close button;
accordingly, the state of the window includes at least one of minimize, restore, close.
4. The method of claim 1, wherein the step of displaying the state management control of the preset style in the preset region when the mouse pointer is located in the preset region comprises:
and when the duration of the mouse pointer in the preset area is greater than the threshold value, displaying a state management control of a preset style in the preset area.
5. The method of any of claims 1-4, wherein the setting the state of the window comprises:
and determining a process corresponding to the window, and sending a state setting message to the process so that the process can set the window to be in a corresponding state.
6. The method of claim 1, further comprising the steps of:
and hiding the state management control of the preset style after the mouse pointer moves out of the preset area.
7. The method of claim 6, wherein the step of hiding the preset style state management control further comprises:
and displaying the original state management control on the window.
8. The method of claim 1, performed by a window manager.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, the program instructions comprising a window management program;
the window management program, when read and executed by the processor, causes the computing device to perform the window management method of any of claims 1-8.
10. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the window management method of any of claims 1-8.
CN201910554053.0A 2019-06-25 2019-06-25 Window management method and computing device Active CN110286819B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910554053.0A CN110286819B (en) 2019-06-25 2019-06-25 Window management method and computing device
CN202110670853.6A CN113296651A (en) 2019-06-25 2019-06-25 Window management method and computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910554053.0A CN110286819B (en) 2019-06-25 2019-06-25 Window management method and computing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202110670853.6A Division CN113296651A (en) 2019-06-25 2019-06-25 Window management method and computing device

Publications (2)

Publication Number Publication Date
CN110286819A CN110286819A (en) 2019-09-27
CN110286819B true CN110286819B (en) 2021-07-16

Family

ID=68005610

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110670853.6A Pending CN113296651A (en) 2019-06-25 2019-06-25 Window management method and computing device
CN201910554053.0A Active CN110286819B (en) 2019-06-25 2019-06-25 Window management method and computing device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110670853.6A Pending CN113296651A (en) 2019-06-25 2019-06-25 Window management method and computing device

Country Status (1)

Country Link
CN (2) CN113296651A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443980B (en) * 2020-04-20 2022-10-04 杭州时戳信息科技有限公司 Operation processing method, device, equipment and computer readable storage medium
CN111930283B (en) * 2020-10-12 2021-02-19 武汉深之度科技有限公司 Message display method and computing device
CN112256372B (en) * 2020-10-20 2023-12-26 北京字跳网络技术有限公司 Information processing method and device and electronic equipment
CN112000417B (en) * 2020-10-27 2021-05-28 统信软件技术有限公司 Control method for window display effect and computing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7343493B2 (en) * 2002-03-28 2008-03-11 Lenovo (Singapore) Pte. Ltd. Encrypted file system using TCPA
CN107340910A (en) * 2017-06-26 2017-11-10 广东欧珀移动通信有限公司 A kind of response method of touch key-press, device, storage medium and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257479A1 (en) * 2009-04-01 2010-10-07 International Business Machines Corporation Graphical User Interface with Dynamic Toolbar Search Functionality
CN102222087A (en) * 2011-05-24 2011-10-19 魏新成 Method for performing search navigation by activating search navigation window special for display
JP5783610B2 (en) * 2012-08-31 2015-09-24 Necソリューションイノベータ株式会社 INPUT DISPLAY CONTROL DEVICE, THIN CLIENT SYSTEM, INPUT DISPLAY CONTROL METHOD, AND PROGRAM
CN105094508A (en) * 2014-05-15 2015-11-25 青岛海信移动通信技术股份有限公司 Method and apparatus for performing window control on application program of mobile terminal
US20170010762A1 (en) * 2015-07-10 2017-01-12 Honeywell International Inc. Controlling application windows with a hover pop-up panel
CN105892794A (en) * 2015-12-04 2016-08-24 乐视致新电子科技(天津)有限公司 Browser interface display method and device
CN107678630A (en) * 2017-10-31 2018-02-09 深圳市康冠商用科技有限公司 Aid in the operating method and operation device of shortcut
CN108932056B (en) * 2018-06-27 2021-04-13 联想(北京)有限公司 Display adjustment method and electronic device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7343493B2 (en) * 2002-03-28 2008-03-11 Lenovo (Singapore) Pte. Ltd. Encrypted file system using TCPA
CN107340910A (en) * 2017-06-26 2017-11-10 广东欧珀移动通信有限公司 A kind of response method of touch key-press, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN113296651A (en) 2021-08-24
CN110286819A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
CN110286819B (en) Window management method and computing device
WO2018157662A1 (en) Display control method for mobile terminal, and mobile terminal
KR20200097320A (en) User interface display method, apparatus, device and storage medium
EP4099145A1 (en) Content sharing method and apparatus, and terminal and storage medium
US20160342308A1 (en) Method for launching a second application using a first application icon in an electronic device
EP2490114A1 (en) Electronic device, controlling method thereof and computer program product
WO2019015582A1 (en) Information notification method and mobile terminal
US20180088966A1 (en) Electronic device and method thereof for managing applications
CN109683841B (en) Control display method and computing device in multi-display environment
US20180335906A1 (en) Application icon previewing method and device, and electronic device
US20160216885A1 (en) Method and device for processing touch operation of electronic apparatus
WO2020062908A1 (en) Method and system for controlling display orientation, and mobile terminal
WO2023030114A1 (en) Interface display method and apparatus
WO2015172562A1 (en) Shortcut operation method and apparatus for touch-screen digital terminal
CN111966260B (en) Window display method and computing device
CN114415886A (en) Application icon management method and electronic equipment
CN113282213A (en) Interface display method and device
CN115617225A (en) Application interface display method and device, electronic equipment and storage medium
CN112148175B (en) Notification display mode setting method and device, electronic equipment and storage medium
CN114153538A (en) Window switching method, computing device and storage medium
WO2017016333A1 (en) Screen adjustment method and device
CN114222355A (en) Terminal power saving display method and device and electronic equipment
TWI587166B (en) Computer system
CN112148406A (en) Page switching method and device, electronic equipment and readable storage medium
CN111124148A (en) Control method for switching capitalization input mode in input method and display equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190927

Assignee: Tongxin Software Technology Co.,Ltd.

Assignor: WUHAN DEEPIN TECHNOLOGY Co.,Ltd.

Contract record no.: X2021980010212

Denomination of invention: A window management method and computing equipment

Granted publication date: 20210716

License type: Common License

Record date: 20210929