When viewing source, highlighting text does not scroll.

NEW
Unassigned

Status

()

Toolkit
View Source
--
minor
15 years ago
8 years ago

People

(Reporter: Dan Backes, Unassigned)

Tracking

({testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

15 years ago
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

Comment 2

15 years ago
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

Comment 3

15 years ago
Created attachment 125004 [details]
Can't scroll on this one.

Comment 4

15 years ago
Created attachment 125005 [details]
Can scroll on this one.

When the source is more than one screen high, you can highlight-scroll to the
right. Otherwise, you can't.

Updated

15 years ago
Keywords: testcase

Comment 5

13 years ago
(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

Comment 6

11 years ago
I would like to confirm this behavior from a issue report at https://bugs.launchpad.net/products/firefox/+bug/45836

Tanks David

Comment 7

8 years ago
SeaMonkey trunk is now using toolkit viewsource.
Assignee: general → nobody
Component: View Source → View Source
Product: SeaMonkey → Toolkit
QA Contact: general → view.source

Updated

8 years ago
You need to log in before you can comment on or make changes to this bug.