Opened 12 years ago

Closed 4 years ago

#9212 closed bug (fixed)

ScrollToSelection doesn't respect TextView insets

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/alpha4.1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is R1/alpha4.1

When taking a screenshot, the file name is always shoved to the left side on the text field:

file name not correctly aligned

I could fix that by removing the line

fNameControl->TextView()->ScrollToSelection();

from screenshot's _UpdateFilenameSelection().
But Oliver suggested in IRC, that this points to a bug in ScrollToSelection(). So here's a ticket for that instead.

Attachments (1)

screenshot1.png (116.6 KB ) - added by humdinger 12 years ago.
file name not correctly aligned

Download all attachments as: .zip

Change History (4)

by humdinger, 12 years ago

Attachment: screenshot1.png added

file name not correctly aligned

comment:1 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:2 by pulkomandy, 4 years ago

I don't reproduce this. Is it fixed by jscipione's recent fixes to BTextView?

comment:3 by humdinger, 4 years ago

Resolution: fixed
Status: assignedclosed

Must've been fixed along the way. Can't reproduce with Beta2 (hrev54154+119) either, which is older than John's changes.

Note: See TracTickets for help on using tickets.