Closed Bug 207890 Opened 21 years ago Closed 1 year ago

When viewing source, highlighting text does not scroll.

Categories

(Toolkit :: View Source, defect)

x86
Windows XP
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dpbackes, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030530
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030530

I was working on another bug when I noticed that if, when viewing the source of
this testcase, I highlighted some text and moved my cursor to the right, the
window would not scroll to the right allowing me to highlight to the right.

Reproducible: Always

Steps to Reproduce:
1. go to http://bugzilla.mozilla.org/attachment.cgi?id=124691&action=view
2. view source
3. try to scroll right by highlighting

Actual Results:  
Page will not scroll to the right

Expected Results:  
Page should scroll to the right
Err... WFM: Win2k/2003053108.
-> ViewSource
Component: Browser-General → ViewSource
Confirming on WinXP 2003053108.

It seems to only happen on some pages. In the reporter's page, I can't scroll
right, but in THIS page, I can.
Status: UNCONFIRMED → NEW
Ever confirmed: true
When the source is more than one screen high, you can highlight-scroll to the
right. Otherwise, you can't.
Keywords: testcase
(In reply to comment #4)
> When the source is more than one screen high, you can highlight-scroll to the
> right. Otherwise, you can't.

I reasoning I have discovered: You cannot scroll to the left when the View
Source window is maximized on screen.  You can scroll left when the window is
not maximized.

You cannot scroll to the right when the View Source window is maximized on
screen and the page source is too short to have scrollbars.  If the page source
is long enough to have scrollbars (see the "Can scroll on this one." attachment
introduced in comment #4), then scrolling can occur.  You can scroll right when
the view source window is not maximized.

It would appear (without looking into the code) that scrolling occurs only when
the mouse leaves the "frame" of the view source window actually being viewed. 
With the window maximized, the mouse cannot leave that frame to the left because
no more screen real-estate exists.  If the page source is long enough to have a
vertical scrollbar, then scrolling to the right will work as the mouse seems to
leave the visible view source frame.
Product: Browser → Seamonkey
I would like to confirm this behavior from a issue report at https://bugs.launchpad.net/products/firefox/+bug/45836

Tanks David
SeaMonkey trunk is now using toolkit viewsource.
Assignee: general → nobody
Product: SeaMonkey → Toolkit
QA Contact: general → view.source
Severity: minor → S4
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: