Why All Windows Can Be Rendered Full-Screen, But Not Necessarily Maximised

Why allow a user to render a window full-screen, but not to maximise it?

An example is:

  1. #!/usr/bin/env sh
    kdialog --title '' --msgbox ''
    

Without knowing why, I err on advising that both options be disabled, by default, if they can be re-enabled via .KWinRules.

Perhaps because your example is a Dialog, not a Window, designed for short-lived, transient interactions/prompts?

It’s based on QDialog class, which traditionally doesn’t have fullscreen options in it’s default window decorations - they’re supposed to be small, focused pop-ups.

Fullscreen would block other content creating a poor user experience.

I’m pretty sure we all know what a dialog is and don’t need to discuss the sense or non-sense of maximizing them, it was clearly just an example.

The real question seems to be why we’re allowed to put them into full screen, when maximizing is disabled. For the sake of consistency both options should be disabled.

3 Likes

Possibly - but the option is not actually present in the window, only through the menu, or perhaps via direct keyboard shortcut. There’s an option to pin, or minimise, but no ‘maximise’ to click in the titlebar.

Perhaps it was felt that such a buried inconsistency wasn’t worth worrying about…

The ability to force a window into fullscreen is a lower-level feature which can evidently bypass the dialog’s own design where maximising is disabled.

I’d suggest that nobody’s particularly bothered with it, and I can’t imagine it would ever cause an issue.

FWIW a better example (with some saner fonts…):

kdialog --title 'This is just a test...' --msgbox 'The quick brown fox jumps over the lazy dog'


@ben2talk, that also appears to be an oversight:


That’s nothing exceptional for KWin:

A maximized window takes on its maximum proportions allowed on the desktop - which may be smaller than the size of the desktop due to the presence of panels and/or docks - whereas a full-screen window supplants the desktop in the display buffer.

@ben2talk, that appears to be a verbose way of merely explaining that maximised windows do not render over plasmashell, whereas full-screen windows do. Consequently, have I not noticed a nuance that you intend to communicate? If not, that distinction was already fundamental to my explanation, so I fail to understand why you’ve re-stated it.


Also, Ben, and I’m going to bring this up here, because it’s contextually relevant:

Although I promise you’ve no obligation to affirm this, I would expect that @amilias would agree that that is very strange to say after someone politely informs you that you’re wasting time on trivial pursuits.

3 Likes

Wow, I always thought ben2talk was just some weird old guy who loves derailing threads by rambling about his personal preferences, but I guess he really is just a huge jerk (too polite to use a different word) after all.

2 Likes

Haha well I was just struck by it, at first I was surprised by the ‘bug’ and couldn’t figure out how it could be a problem - it just seemed to be something outside the normal scope of kwin.

I also noticed that developers didn’t seem to interact with it, and that you posted a link to other bugs that you had created in the past which you deem relevant, but which you also posted.

So I was just curious to find out if anyone would support or bring context that I could understand.

There was no disrespect intended, but having communicated with a large range of members - many of whom do tend to be neuro diverse and intensely focussed on details which are irrelevant to the majority, I was curious if anyone would bring up any interesting information - other than that ‘fullscreen’ tends to be a lower level function, that doesn’t respect the same rules…

If it had brought anything interesting, I could have brought that back here.

So now it appears that @amilias is offering very postitive input here:

From your reddit link, we see the point of THIS thread is actually related to someone elses desire to have a ‘FULLSCREEN’ button available in the titlebar (perhaps frustrated that the maximise button is not) because they use it quite a lot.

Fullscreen is a function which I actually consider a separate issue from KDE WIndow manager functions - it’s a standard feature across different WMs.

In KWin, we have the option to actually hide the window decorations in the maximised state - giving a very similar experience to ‘fullscreen’ but without taking over the screen.

But there are better ways to manage fullscreen - traditionally F11 for the vast majority of cases.

Then the right-click context is an ‘advanced’ use case. Firefox might be considered an example which manages its own fullscreen behaviour with CSD…

Then with SSD the FULLSCREEN button would disappear as soon as you entered fullscreen - that’s something that I actually would consider a serious bug.

But in this case - the ‘maximise’ button is simply not available because the window is not intended to be maximised - and the ‘problem’ that it is possible to bypass this by going into a menu and fullscreening the window isn’t a ‘problem’.

It could marginally be described as ‘not totally consistent’ but I feel that it is not able to create a problem at all. You can use that same menu to undo your fullscreen action.

Can you describe an example where this might actually prove to be important?

1 Like

I seem to have missed the part where you apologize for trying to dictate which topics are “relevant enough” for people to discuss while bad-mouthing them in your private echo chamber, basically calling us mentally ill for having the audacity of taking interest in a minor UX issue, just because you don’t care about it. How about ignoring threads that don’t interest you next time?

Also, I have no clue what even is up with the latter part of that post, I don’t see any reddit threads posted here and you’re again just digressing into a completely different topic, if not into straight-out lunacy.

3 Likes

Neurodiverse people who focus on the small details have contributed hugely to humanity.

Those who focus on trying to belittle and humiliate others, not so much.

2 Likes

I never did anything of the kind - not even close.

By using the term ‘us’ - are you implying that you are on some kind of spectrum and are sensitive about it?

The fact is that I’ve experience with many forum members of many kinds - and many of my closest associates tend to be on the autistic spectrum, sometimes they get bogged down with small details, but sometimes they are very good at finding things that the rest of us leave behind or dismiss.

Hence I just wanted to ask their opinions about the topic - and as it seems, not many were interested to comment beyond the clarification of maximise vs fullscreen, regarding it as a minor ‘imperfection’ as it were that’s likely not worth the trouble of fixing.

Sometimes I ask such opinions and I get very good feedback bringing up real-world issues that are frequently caused by such issues.

You might also notice that I never did anything of the sort, indeed I made sure to comment as to the qualifications of the OP, rather than dismissing him as a person I was merely curious about the subject of the post.

I actually really appreciated the way he put his address in his profile, and intended no disrespect whatsoever.

We might also note that nobody else seemed interested in the topic at all, and so I also was motivated by the possiblity that I might get some responses which might lead to a positive view on the subject…

Perhaps also interesting is that the first two people who responded on that thread are firmly set on the ‘spectrum’ and frequently bring very sharp and lucid overviews to subjects which I might overlook. I often value their opinions more than my own - though not necessarily in this case (I think AwwsumGuarav responded a little harshly).

Then look again, it’s clearly quoted.

Well I’m not sure who suggested that - it did interest me, it initially surprised me and later on with such threads we do often find real issues that really do need sorting out.

The best way of finding out is by finding actual real-world issues that cause problems - to decide if such irregularities actually deserve attention.

I am still open to the idea that this could be a valid complaint - but I think it must be tied down to real-world issues - I’d say it’s very application dependent.

This is, indeed, the purpose of this thread - the rest is just wildly off-topic.

So now this is more of a witch hunt, going off the rails. If there’s no further interest or explanation relating to the actual original topic, I have no further wish to engage in off-topic banter.

1 Like

@ben2talk, that was my Reddit OpenGraph embed (which may be why @amilias was confused by your assertion), and wasn’t the impetus of this discussion regardless.

Albeit, not when browser.tabs.inTitlebar: 0.

I vaguely challenge that, considering that dwm.exe’s 1:1-equivalent context provides basic functionality that is widely-utilised, too:

However, considering how such a designation is subjective, I can continue as if it is.

I agree that that is a problem, in retrospect. However, is it on-topic for this discussion? If not, I advise that you create a separate Discourse or Bugzilla thread about it.

Considering my immediately precedent quotation of yours, how can that be so? Specifically, you insightfully assert that a user being unable to easily access full-screen mode without a keyboard may be problematic, yet simultaneously assert that being able to access full-screen mode for a window that is not designed for it is not.

Even if you were to somehow convince me of this, what could be the possible problem with having this option disabled when the maximisation option is disabled? I don’t understand why you expend so much effort to convince us that it is of no importance.


Although what I have aforequoted appears to demonstrate that your intent was not merely this - instead, that you also believe that it is not a problem - to answer your question, the reason that this might be problematic is the same reason that maximisation is disabled. Specifically, that it can cause the window to render in a manner that it is not designed to. An example is that I have had windows crash with a segmentation violation, when resized, after informing the compositor that they may not be. Considering that merely F11 can invoke the full-screen mode, that may cause data loss. Plasma Mobile explicitly does not render such windows full-screen, by default.

1 Like

I tend to play devil’s advocate - making suggestions with a weak basis to see if there is any pushback or more solid reasoning to be had to support the claim.

Hold on - so yes, if a user right clicks to access the menu and goes fullscreen (no keyboard) they can’t get out of it unless they have an alternative, so that is indeed a problem - not just the fact that they can get fullscreen. Simply going fullscreen or maximising isn’t a problem per se - it should simply never be necessary.

There would be no problem if both of these options were disabled - but I fail to see the problem of the hidden fullscreen option not being disabled - but I was not aware that it could lead to segmentation violations and crashes, then that is a valid reason to consider the option to remove it - if it’s feasible.

Plasma Mobile is a scenario I’m not familiar with, and I defer judgement on that topic.

1 Like