Bug 261222 - Address line edit becomes empty when switch between tabs
Summary: Address line edit becomes empty when switch between tabs
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: tabbing (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-25 13:37 UTC by Mykola Krachkovsky
Modified: 2011-09-06 06:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mykola Krachkovsky 2010-12-25 13:37:07 UTC
Version:           unspecified (using KDE 4.5.90) 
OS:                Linux

Address line edit becomes empty (more exactly contains last editing content) and icon switches to folder icon on switch from tab where editing was done. It's better to see how to reproduce I think.

Version is not so important. This bug was present in 4.4, 4.5 and now in 4.6 rc1.

Reproducible: Always

Steps to Reproduce:
Open Konqueror. Type in address line some valid URL, e.g. http://kde.org/.
Open new tab (any way). Type something (at least one letter) and backspace all.
Switch to previous tab (Ctrl+Tab, Ctrl+[ or with mouse - doesn't matter).

Actual Results:  
Address is empty (more when you switch again icon in the tab replaced)

Expected Results:  
Address have to contain address of current tab
Comment 1 Mykola Krachkovsky 2011-02-15 11:26:28 UTC
Well, KDE 4.6.0 release and nothing changed.
Comment 2 Mykola Krachkovsky 2011-04-21 05:57:51 UTC
4.6.2 already but bug is present yet.
Comment 3 Wolfram R. Sieber 2011-05-26 03:36:52 UTC
I noticed this one also, and it's _really_ annoying.
.

Other variants to reproduce this bug:

a) Have multiple tabs open, be in tab 2, have a third, open a fourth (I used C-T). Then do editing the URL line there just as NickLion described it. Close the tab (I used C-W). Bang: Tab 3 looses its URL.

b) Have at least one tab open, open another one (C-T), start editing the URL, hit C-W in between. Bang: First tab gets the half-entered URL of the temporary tab.
.

I'm using Konqueror 4.4.5 btw.
Comment 4 Wolfram R. Sieber 2011-05-26 04:22:07 UTC
Just noticed: This works also the other way 'round. How to reproduce:

# Have a tab open with a URL in its address field.
# Open new tab (C-T).
# Go back to first tab (C-,).
# Go to the URL (C-K, S-Tab), copy it (C-X, C-V).
# Switch back to new tab (Tab, Tab, Arrow-Right)

C- is Control, S- is shift, Tab is tabulator key, Arrow-Right is navigation key "->"
.

@Nick, do you confirm that this behaviour is also present in your newer (than mine) version of KDE?
Comment 5 Wolfram R. Sieber 2011-05-26 13:48:22 UTC
I wanted to add why this behaviour is in particular annoying:

Given I'm working with a tab (A) then go to a second page to look up something, then kill that tab and have my first tab's (A's) URL overwritten. Then I decide to start over with that first page A and hit F5. Then I regularly have this 'Sorry, pal, this is no valid URL' type of conversation with konqueror.. And need to retype or start-type and re-select the tab's URL.

This is really, really annoying.

And BTW, in my opinion Konqueror should just re-use the last known valid URL rather than complaining and standing in my way.
Comment 6 Martin Koller 2011-06-24 12:08:12 UTC
Can reproduce with 4.6.4
Comment 7 Mykola Krachkovsky 2011-07-08 07:42:53 UTC
4.7 RC1
Looks like bug is fixed. I would test more.
Comment 8 Mykola Krachkovsky 2011-07-20 10:57:21 UTC
4.7 RC2
URL line edit now works better. But there is new bug (focus may switch to invisible tab).
Comment 9 Dawit Alemayehu 2011-09-06 06:40:45 UTC
(In reply to comment #8)
> 4.7 RC2
> URL line edit now works better. But there is new bug (focus may switch to
> invisible tab).

That is a different issue so please open another bug report for that one if you still experience it in the released version of 4.7. 

Th bug reported in this ticket has however been addressed when bug# 187891 was fixed.