I wonder what would others choose or think in such a situation.
You are paid quite well, and the salary is "white" (100% legal, which is good for pension savings). Your current job became terribly boring. Basically, you don't learn new things, don't evolve in the direction you wanted. Your team leader and the boss don't hear what you say. Things are done in a strange manner, to say the least... Projects (it's an IT company) are ending, and new aren't coming for 3-4 months. No deadlines, and you find yourself wasting 3/4 of office time, and the rest 1/4 you try to do anything. (This doesn't feel that bad actually: I learned some other programming stuff and read on furniture hardware, to make on my own
)
Another option: you're invited into another company, that is short of developers, where you might get more different things to do, and learn. But the salary is 1/4 lower and black (no contract: you may be fired or go away by yourself instantly).
Actually, I've already decided for the second. I'm not 50+ to stay in the same place for years. Nor I don't want to be wasting my life, even if it gives more money.
I used to work in a retail chain, where there's low salary and a lot of pressure, and I must say that work was much more satisfying than this one that I quit last week. I had to fight for my proposals, but when they were accepted, it felt good, and it was a big pleasure to complete them. Then I switched to this work, because they offered a lot more salary. I worked hard for 3-4 months among 10, and the rest of it was mostly a timewaste: everything is decided for you, just do this and that when you have time. So we mostly were surfing on the internet, reading jokes, ski, bikes or hardware prices... I coulnd't help notice this.
As it revealed afterwards, the company was parasiting on rich and big clients, just like some consulting agencies do (most projects were intentionally overrated in terms of man-hours). That's why we, software developers, had good salary but bad working climate and few things to do.
It was hard to decide, because that 1/4 of the salary will be hard to regain, and I got used to being paid much. But I guess, evolving and spending my life in hard working values much more in the long term.