Bug 496808 - Problems inserting slash (/) in addressfield after startup of konqueror
Summary: Problems inserting slash (/) in addressfield after startup of konqueror
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 00:48 UTC by udo
Modified: 2024-12-01 22:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description udo 2024-11-29 00:48:46 UTC
SUMMARY
After starting Konqueror using "konqueror /home/user" and highlighting the address line to delete it by entering a slash, the first slash is often not accepted. The slash only appears in the address line when the slash key is pressed a second time. While konqueror is running, every inserting of slash works like expected. It's only after starting konqueror new.

STEPS TO REPRODUCE
1. Open Konqueror with "konqueror /home/user/" and get directly into your home directory
2. highlight the address line (highlight /home/user/) and press the slash key
3. slash is not accepted and gets accepted pressing the slash key a second time

OBSERVED RESULT
After highlighting the address line and inserting a slash no slash appears in the address line

EXPECTED RESULT
After highlighting the address line and inserting a slash the slash should always appear

SOFTWARE/OS VERSIONS
Linux: Debian bookworm (stable)
KDE Plasma Version: 5.27.5 
KDE Frameworks Version:  5.103.0
Qt Version: 5.15.8
Grafik-Plattform: X11

ADDITIONAL INFORMATION
An Debian bullseye on the same machine with older konqueror works like expected. The slash always gets accepted, so it's not an keyboard issue. It's definitely a problem of konqueror or other KDE Application.
Comment 1 Stefano Crocco 2024-12-01 09:00:00 UTC
Unfortunately, the version of Konqueror you're using isn't supported anymore since it's quite old and is still based on version 5 of Qt and the KDE Frameworks, while the current version of Konqueror is based on version 6 of Qt and KDE Frameworks.

To check whether this bug still exists, I'd need additional information:
- what is the completion mode of your location bar (the place where you enter the address)? You can check it by right-clicking on it, choosing "text completion" and looking which entry is checked
- what do you mean exactly when you say "slash is not accepted"? What happens when you press the slash the first time?
Comment 2 udo 2024-12-01 22:55:09 UTC
(In reply to Stefano Crocco from comment #1)
> Unfortunately, the version of Konqueror you're using isn't supported anymore
> since it's quite old and is still based on version 5 of Qt and the KDE
> Frameworks, while the current version of Konqueror is based on version 6 of
> Qt and KDE Frameworks.
> 
> To check whether this bug still exists, I'd need additional information:
> - what is the completion mode of your location bar (the place where you
> enter the address)? You can check it by right-clicking on it, choosing "text
> completion" and looking which entry is checked
> - what do you mean exactly when you say "slash is not accepted"? What
> happens when you press the slash the first time?

Interesting, I didn't notice before that a completion mode exists. Thanks for the hint. The completion mode is on the 4th choice from above at "drop-down menu".

I have to revise my previous statement that the error only occurs after starting Konqueror. I have now also noticed it when Konqueror was open but the window was inactive for a long time. 

What I like very much at konqueror is that he has an auto completion like at the console. If I type a few characters and press the Tab key, the path is automatically completed. So, to access my partition that are under /mnt, I first have to type the slash (/).

What happens is that nothing happens. I press the slash key, but the slash is simply not entered into the address field and the previous, highlighted path is still visible. It's as if the key is broken. But it isn't broken. The slash is only entered in the address field when the slash key is pressed a second time. I'm sure that it's not the keyboard, because an earlier version of konqueror under Debian bullseye on the same machine, the slash appears every time I press it.