Extjs4.2 Desktop icon drag white screen solution, extjs4.2desktop
Last time I made a desktop demo of extjs4.2, I stripped the desktop from the original package, and changed the desktop icon columns and dragged the desktop icon, however, if you drag the desktop icon, a white screen is displayed. After testing, this problem extjs4.2 and Extjs5.0 both exist,
After repeated debugging, I found that the added code is correct. The problem lies in the Custom class of extjs, in Ext of extjs4.1. define ('ext. dd. dragZone '... in the definition
afterRepair : function(){ var me = this; if (Ext.enableFx) { Ext.fly(me.dragData.ddel).highlight(me.repairHighlightColor); } me.dragging = false; },
This code is to deal with the subsequent work after dragging, and in the 'ext. dd. in the definition of DragZone, I don't know why. Without this code, I just need to add this code and the problem will no longer appear. After a day, the problem can be solved perfectly. In fact, the problem is not complicated, it is difficult to find the problem.
Is EXTjs4.2 desktop, which achieves the effect of wrapping and dragging the icon
Extjs5.0 has the same problem. It should be the same reason, but not tested.
The demo code is available in my resource downloads.
After the boot, the desktop background image cannot be displayed on the white screen. There is a line on it, saying that you want to restore the active desktop.
Active Desktop is the meaning of Active Desktop, which can be enabled and disabled in group policy. Click "Run gpedit. msc Group Policy"> "user configuration"> "management template"> "Desktop"> "Active Desktop"> "Disable Active Desktop" and click "enable". ------ refresh the Desktop ......
After the Active Desktop is used, the WEB content, including images and links, can be displayed on the desktop. In addition, you can right-click your desired image and set it as a background or desktop item! If your system is slow, it is recommended that you disable this function to release certain system resources!
I don't know why the Desktop prompts you to restore the Active Desktop after it is turned on, but it cannot be restored after following the prompts?
Solution:
Method 1 start -- control panel -- display -- Desktop -- custom Desktop -- Web -- select the Active Desktop in use -- delete OK...
Method 2 You can also right-click the desktop, then, "Property -- Property display -- Desktop -- custom Desktop -- Web -- select the Active Desktop in use -- delete -- OK", and click "OK.
Method 3 if you do not want this to happen in the future, you can run gpedit. msc
Expand
User Configuration -- management template -- Desktop -- Active Desktop -- disable Active Desktop and modify it to enabled.
Reference: baike.baidu.com/view/1803433.htm
There is a shadow on the desktop icon, and a white screen will flash during refresh. It is caused by the synchronization of the image to the desktop.
1. if the reason is as follows: directly copy and paste the images in the document editor to the desktop, which leads to the activation of the Active Desktop. You only need to close the Active Desktop: right-click "desktop"> "properties"> "desktop"> "Custom desktop"> "web"> "delete" (or remove the previously bound desktop hook), and click "OK.
2. Right-click the desktop → arrange the icons → lock web Project (I) on the desktop, and remove the previous hooks.
Note: in fact, the above two cases can be summarized as: Right-click desktop-properties-desktop-custom desktop-WEB-and remove all checked items.
3. my computer-right-click Properties-advanced-performance-settings-visual effects-select "adjust to the best appearance" or "Let windows select the best computer settings (L)" to confirm!
The above methods are determined based on the actual situation. If you want to give it a try, you will be right.