Git Product home page Git Product logo

Comments (5)

sclu1034 avatar sclu1034 commented on June 2, 2024

There's a third option, which covers the vast majority of these cases: User error. You opened that same browser in a floating-based desktop environment before, maximized it there and now the size hints work as designed.
Browsers are one of the few applications that save their windows' geometry at close and try to request the same setup when started. Awesome is, by default, configured to honor those so-called size hints.

Focus the window, hit your "toggle maximized" hotkey once (or create one). As long as you don't switch window managers again, it'll remember to not request being maximized.

from awesome.

port19x avatar port19x commented on June 2, 2024

I have not installed a different desktop environment before on this install, which is automated via a script.
The unmaximize did not work via the following binding

    awful.key({ "Mod4",           }, "m", function (c)
          naughty.notify({text="ok go(1)"})
          c.maximized_horizontal = not c.maximized_horizontal
          naughty.notify({text="ok go(2)"})
          c.maximized_vertical   = not c.maximized_vertical
          naughty.notify({text="ok go(3)"})
    end),

naughty.notify for debug purposes just in case, as per this stackoverflow post
Some ancient stack exchange posts recommends a timed trigger, but that sounds wrong (source)

Is there any further debugging I should do, perhaps a log file I'm not aware off?

from awesome.

port19x avatar port19x commented on June 2, 2024

Awesome is, by default, configured to honor those so-called size hints

Alternatively, just changing this default would be sufficient in my case

from awesome.

Aire-One avatar Aire-One commented on June 2, 2024

Awesome is, by default, configured to honor those so-called size hints

Alternatively, just changing this default would be sufficient in my case

Maybe you want to try some variant of the snippet from #3345 (comment)

from awesome.

port19x avatar port19x commented on June 2, 2024

So the issue fixed itself and I have no idea how.
I did not follow the steps outlined by @Aire-One.
If anyone stumbles upon this in the future, good luck

from awesome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.