Bug 457114 - [Wishlist] Improve appearance of navigation bar when a file on disk isn't open
Summary: [Wishlist] Improve appearance of navigation bar when a file on disk isn't open
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: Git
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-25 12:50 UTC by logicalwillow
Modified: 2022-10-20 07:22 UTC (History)
3 users (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 logicalwillow 2022-07-25 12:50:41 UTC
SUMMARY
I think it would be a good idea to disable the navigation bar when the current file isn't saved. Having "Untitled" display two times (in the tab and the navigation bar) looks weird in my opinion.
Comment 1 Christoph Cullmann 2022-07-25 13:39:52 UTC
Do you mean "hiding"? I don't think hiding would be a good thing, as then the view jumps on save and if you switch to a different document that has some url.

Perhaps one can improve what we display there.

One must see that not all people have tabs enabled btw.
Comment 2 logicalwillow 2022-07-25 14:36:27 UTC
Yeah, I meant hiding.
I don't think the jump would be that annoying though, because the navigation bar isn't a huge part of the interface.
Comment 3 Christoph Cullmann 2022-07-25 14:59:45 UTC
For me personally that jump would be very annoying, therefore I would really like (if we alter anything) a different solution then just hiding.
Comment 4 logicalwillow 2022-07-25 15:22:36 UTC
What about an option that lets people decide whether or not they want the navigation bar to hide itself? I think it's an okay middle ground.
Comment 5 Christoph Cullmann 2022-07-25 16:40:16 UTC
I am not sure if that is not really over configuration.

What would be the issue with e.g. just showing it without text if the tabs are activated, too, and visible?
Comment 6 logicalwillow 2022-07-25 16:54:49 UTC
That leaves a weird gap between the tabs and document, which I don't really like.
What about making the "Untitled" text smaller and changing the color to gray, like when the file is saved?
Comment 7 Christoph Cullmann 2022-07-25 17:06:50 UTC
(In reply to roblokazyt from comment #6)
> That leaves a weird gap between the tabs and document, which I don't really
> like.
> What about making the "Untitled" text smaller and changing the color to
> gray, like when the file is saved?

I think that would make sense, perhaps we can just re-use the widget that shows the directory stack for displaying the untitled, too.
Comment 8 logicalwillow 2022-07-25 17:55:30 UTC
Should I mark this as confirmed now?