[Bug 6873] New: CRichEdit: Wrong functionality on using Scrollbar

Wine Bugs wine-bugs at winehq.org
Tue Dec 12 05:31:14 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=6873

           Summary: CRichEdit: Wrong functionality on using Scrollbar
           Product: Wine
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-richedit
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: renu.rajput at gmail.com


The application I tested, uses a richedit control, which shows some log data. 
The log file contains a list of files along with some other information. The 
name of the file is hyperlinked using CFM_LINK format. Whenever the 
hyperlinked file name is clicked, the appropriate file is opened.

The above behavior works fine, as long as all the lines are visible. 

- Scroll the display one line up (i.e. the first line is not visible), and if 
I click on any particular link, the file in one line above gets opened. E.g. I 
clicked on line#4; the file in line#3 gets opened 
- If the first two lines are hidden, then file at line# n is opened if the 
link at line# n+2 is opened and so on 

The same pattern follows, as the number of scrolled/hidden lines increases. 

I briefly looked at the Wine code, and it seems that the relative character 
offset, and the absolute character offset (relative to the start of the 
document)are not synchronized when the lines are scrolled up.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list