Home » U++ Library support » LineEdit, EditFields, DocEdit » LineEdit MouseMove and LeftDrag bug fix 
	
		
		
			| LineEdit MouseMove and LeftDrag bug fix [message #21756] | 
			Thu, 04 June 2009 09:04   | 
		 
		
			
				
				
				
					
						  
						gxl117
						 Messages: 71 Registered: March 2009  Location: China
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		When use mouse select a line text in the LineEdit,if don't release mouse leftkey and unselect text,it can't unselect line two ends character.This bug is exist for linux and windows. 
 
When use mouse leftkey drag selected text to new place,sometime draged text is to disappear.For LineEdit,if refresh it,dosappear character can reappear.But for CodeEdit,these characters is real lose. This bug is for ubuntu linux. 
I fixed them. 
Attachment patch: 
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	
		
		
			| Re: LineEdit MouseMove and LeftDrag bug fix [message #21784 is a reply to message #21756] | 
			Thu, 04 June 2009 23:27    | 
		 
		
			
				
				
				  | 
					
						  
						mirek
						 Messages: 14271 Registered: November 2005 
						
					 | 
					Ultimate Member  | 
					 | 
		 
		 
	 | 
 
	
		| gxl117 wrote on Thu, 04 June 2009 03:04 |   When use mouse select a line text in the LineEdit,if don't release mouse leftkey and unselect text,it can't unselect line two ends character.This bug is exist for linux and windows. 
  |  
  
 
I do not see anything wrong. What is "two ends character"? Last two characters of line? 
 
| Quote: |  
  
When use mouse leftkey drag selected text to new place,sometime draged text is to disappear.For LineEdit,if refresh it,dosappear character can reappear.But for CodeEdit,these characters is real lose. This bug is for ubuntu linux. 
I fixed them. 
Attachment patch: 
  |  
  
 
Actually, you have broken MOVE operation here. 
 
Default is to MOVE the text. That involves deleting the source text. If you want to COPY, you have to hold Ctrl key. 
 
Mirek
		
		
		
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	
		
		
			| Re: LineEdit MouseMove and LeftDrag bug fix [message #21787 is a reply to message #21786] | 
			Fri, 05 June 2009 03:18    | 
		 
		
			
				
				
				
					
						  
						gxl117
						 Messages: 71 Registered: March 2009  Location: China
						
					 | 
					Member  | 
					 | 
		 
		 
	 | 
 
	
		  
From left to right select text,then return,first char can't unselect. 
 
 
 
  
From right to left select text,then return,last char can't unselect. 
 
 
 
  
Some time drag text,at new place text is lose.only for Linux. 
 
I know my english is poor,my mean can't expressed clearly.But bug is exist.
		
	- 
	
 
	Attachment: first.png
	 
	(Size: 211.63KB, Downloaded 893 times)
 - 
	
 
	Attachment: end.png
	 
	(Size: 206.28KB, Downloaded 886 times)
 - 
	
 
	Attachment: lose.png
	 
	(Size: 171.60KB, Downloaded 880 times)
 
 
		
		[Updated on: Fri, 05 June 2009 03:21] Report message to a moderator  
 |  
	| 
		
	 | 
 
 
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |  
	| 
		
 |   
Goto Forum:
 
 Current Time: Tue Nov 04 14:19:56 CET 2025 
 Total time taken to generate the page: 0.11611 seconds 
 |