Closed Bug 1626849 Opened 5 years ago Closed 5 years ago

Tooltip (i.e) title of text or any field is getting trimmed after certain characters

Categories

(Core :: Layout, defect)

74 Branch
Desktop
Unspecified
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 805039
Tracking Status
firefox75 --- wontfix
firefox76 --- wontfix
firefox77 --- wontfix

People

(Reporter: roma.rathi, Unassigned)

Details

(Keywords: access)

Attachments

(3 files)

Attached image Untitled.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
Firefox for Android

Steps to reproduce:

just enter long characters in an input field for firefox.
Maybe more than 200 characters having a title attribute.
The tooltip is not shown exactly and instead is trimmed.
Refer tot he screenshot tooltip value and the actual value entered was "1121111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111asawqwasas"

Actual results:

the tooltip does not contain the exact text as the input field.

Expected results:

the tooltip should contain the exact text as the input field.

Please mention if there is any solution to that...
Or whatever can be done

Not a security bug.

Can't reproduce on macOS - a plain text input doesn't come with such a tooltip by default (try with data:text/html,<input> - just copy/paste that into the location bar, then enter loads of text). Unless this is somehow a Linux-specific oddity, I expect it's a bug in the software used in the screenshot - though there probably are limits on the length of text we'll show in a tooltip, too.

Group: firefox-core-security

(In reply to :Gijs (he/him) from comment #2)

Not a security bug.

Can't reproduce on macOS - a plain text input doesn't come with such a tooltip by default (try with data:text/html,<input> - just copy/paste that into the location bar, then enter loads of text). Unless this is somehow a Linux-specific oddity, I expect it's a bug in the software used in the screenshot - though there probably are limits on the length of text we'll show in a tooltip, too.

Hey Gijs,
what is the solution to this then...I think this is Firefox issue..
Paste the below in location bar and hover over.

data:text/html,<input title="dasdasssssssssssssssssssssssssssssssssssssssssssssssssssssssssssad2321321esadsadqwe213421edsdq2edsaddddddddddddddddddddddddddddddddddddddddd">

Of course it is not an security issue..

I can reproduce on nightly76.0a1 Windows10, but not on Ubuntu18.04.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → Desktop
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

(In reply to Alice0775 White from comment #4)

I can reproduce on nightly76.0a1 Windows10, but not on Ubuntu18.04.

Hello all,

Please reply if there is any resolution or not ... More and more comments and updations are not the solution.
If there is no resolution firefox has been able to fix then also please mention in comments.
We can wait for the update but please be transparent about the issue.

Flags: needinfo?(ehumphries)

(In reply to Alice0775 White from comment #7)

sorry

Do you mean till now there is no resolution?

I was able to reproduce this issue on latest Nightly version 76.0a1 Build ID 20200406092400, Beta Versión 75.0b10 BuilID 20200326191140 and Release Firefox Version 74.0.1 Build ID 20200403064753 on Windows 10, using this example:

data:text/html,<input title="dasdasssssssssssssssssssssssssssssssssssssssssssssssssssssssssssad2321321esadsadqwe213421edsdq2edsaddddddddddddddddddddddddddddddddddddddddd">

I've also tested on Chrome and tooltip is showing complete.
I attached files whit evidence and I changed flags accordingly.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: Unspecified → Desktop
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Status: NEW → RESOLVED
Closed: 5 years ago5 years ago
Component: DOM: Core & HTML → Layout
Resolution: --- → DUPLICATE

I see that this bug is closed...Is there any progress or resolution to this?

Flags: needinfo?(roma.rathi)

(In reply to Roma from comment #13)

I see that this bug is closed...Is there any progress or resolution to this?

Flags: needinfo?(roma.rathi) → needinfo?(svoisen)

(In reply to Roma from comment #14)

(In reply to Roma from comment #13)

I see that this bug is closed...Is there any progress or resolution to this?

This was duped over to bug 805039.

Flags: needinfo?(svoisen)

(In reply to Sean Voisen (:svoisen) from comment #15)

(In reply to Roma from comment #14)

(In reply to Roma from comment #13)

I see that this bug is closed...Is there any progress or resolution to this?

This was duped over to bug 805039.

Okay gotcha..!

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

Attachment

General

Creator:
Created:
Updated:
Size: