Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "scrollbar"
-
Was helping somebody with a little C++ issue (disclaimer: I know jackshit about C++).
After a while off reading his code and opening a file called "pi.cpp", I noticed something odd...
This guy literally thought is was a good idea to put 81663 fucking decimals of pi in a #define statement :^)
On the screenshot, that weird "noise" on the right is actually a scrollbar of the code itself...35 -
You know you're in for a difficult time when the answer on stack overflow has a code area with a scrollbar.3
-
Just who the fuck from apple thought its a good idea to make the FUCKING SCROLL BAR overlap, the FUCKING PROPERTY ARROWS, everytime i accidentaly hover over it? I cant change shit! I have to wait few seconds every time i accidentaly hover over the scrollbar so i can be able to FUCKING CHANGE the value!
Dear Apple Inc,
Fix your shit! We're paying 100$ a year for what? More bugs and toruture? I didnt sign up for this bullshit! Give us back some real quality products, or just buy the company Jetbrains and let them build the IDE for you instead.14 -
Designer: Can you hide scrollbar and still make web scrollable?
I: Sure.
Designer: Ok fine, i'll do that in next design.
I: Wait, how users will know the web has more content?
Designer: I'll put the mouse icon on the bottom.
I: It is not good idea. People can overlook it.
Designer: It will be fine.
I: I strongly recommend to you not to do it.
Designer: Why?
I: Confusion besides other reasons.
Designer: If you can do it, do it.
I: Ok than.
$request->getIP() == 'his_ip' ? 'hide-scrollbar';4 -
"We want to change the scrollbar colour." -Client
Oh no, no no no; we sorted this years ago. Nobody should have that power.3 -
What's with the 4 pixel wide scrollbars on some desktop software these days? Does nobody care about accessibility anymore?
No seriously.
Fuck you.
And why the fuck does open source software seem to be the main culprit - as usual.
And tutorials telling us to add an extra blank line to our source code because fucking Linux distros decide to put an overlay horizontal scrollbar just over the top of where the last visible line in an editor appears.8 -
YOU KNOW WHAT I FUCKING HATE.
THE IPHONE'S DEFAULT WEB BROWSER, SAFARI
"OH YOU WANTED THIS TO BE EXACTLY HEIGHT:100VH? HERE'S A FUCKING SCROLLBAR."9 -
I finaly managed to make a dark mode on slack desktop app! Still has some bugs (like scrollbar being white) but works well enough for me. If anyone is interested tell me in the comments 🙂
How i did it (Linux paths but should be the same process for Windows):
You can execute scripts in /usr/lib/slack/resources/app.asar.unpacked/src/static/index.js
Using that i figgured out that slack desktop is basically an actual webview to their website and some os hooks.
To edit the contents of the webview you can call `document.getElementsByClassName('WebViewContext')[0].executeJavaScript("alert(1)")`
Then i just simply packaged up some custom css to be loaded with JS.
Quite simple actually.
Using this method you can create all kinds of plugins for slack, so go wild!3 -
The Interview (Part 2)
I feel like I can make 13 episodes of this shit. I reviewed another resume that has more than ten pages and contains very little useful information. What kind of pain, internal hemorrhage, brain damage, and trauma does one have to endure before he decides:
"I'm gonna make my resume thicker than old school Song Hits magazine. That would be really cool. That would get me hired."
Jesus Christ, I summon you again. I told you dying for these little fucks isn't worth it but nooooo, no one ever listens to me. iM gUnNa DiE aNyWaY, nAiL mE oVa ThErE. Now look at this shit, one "block" per page.
1. Each block contains the position, company, and responsibilities except each block is repeated over and over again for each "project".
2. Each project has no specific name, just numbers but Project 1, 2, 3, and so on just isn't enough so he used roman numerals instead. Roman fucking numerals. I thought that was the name of the project until I scrolled through the different companies he's been in and that format persists starting from Project I to Project XII.
3. Each responsibility starts in a new line, some are not capitalized so you don't even know if it's the continuation of the previous sentence or what except sometimes, there is no previous sentence.
4. The blocks aren't even arranged properly. He has experiences from 2019, 2018, **2015**, and then 2018 again, 2017, 2016, and so on. I know this because I tried to give the guy a chance. Maybe he's one of those good developers who are just absolutely terrible with these things so I tried to "extract" the gist of the resume.
5. The gist is "nothing to see here". He just did all of this to look like he has plenty of experience and the recruiter must have thought "Wow, I bet this guy would pass." He had five years of experience but all I got aside from the giant headers are "joined the project blah blah", "used <something so basic, it's not worth mentioning> to maintain blah blah", and something in the tune of "changed the scrollbar to blah blah".
Example:
Ass Licker - Project VII
Honduras Bitches Inc.
Joined the brothel.
maintained my twerky bitchy assfuck
Used Fontawesome and jQuery shit ass mothafucka some dumb shit here, I don't give a shite anymore, I'm dead inside.
I.. I just.. Why? I don't know anyone who have this kind of resume and yet here I am reviewing this kind of shit from the type of people I didn't know existed. Why do we have to take something so simple and turn it into something that is so difficult to understand or even look at?11 -
WHAT THE FUCK!!
For a freelance job I searched for a JS function in the HTML document of a Wordpress site that was given to me.
Found it and wanted to get started on the project, but there was something odd about this website (besides it's a Wordpress site). The scrollbar was fucking small and when I scrolled down, all I saw was breaks. An almost endless number of breaks.
Then suddenly There was a line of HTML!! And then another 126 breaks.. :/
(Yeah that's right, I calculated the number of breaks between every line of HTML). This document has 75732 lines of shit.
The whole fucking website loaded in over 20 seconds!! What the fuck is that?!?! The document itself is 258 kB!!
But whatever, I get paid.4 -
I'm new into Java and tried creating a simple GUI.
Took me about 3 hours until i've found out that I must put a JTextArea into a JScollPane and not the other way around to display the textarea with a working scrollbar.
I love this already.
(I'm also a new devRant user, so... Hey :] !)6 -
Im getting annoyed by the new layout of google. Hovering the sidebar will make a scrollbar appear but the main part of the site's scrollbar will disapear. This results in most content moving from their original place. Let's make a Stlyish script to fix this problem I thought. Guess what now somethings stay where they should be, but the things that were first on the right place have moved. Also this will make the header shorter. I'm getting more and more amazed how shitty some frontend devs are at google.
To fix one bug they, instead of solving the bug, tried to counter the result of the bug.
I do like the z-index of the sidemenu though (it's 2005, the year youtube was created)12 -
i noticed just know that the scrollbar in Devrant kinda moves like a caterpillar. especially with long posts.3
-
!rant
Could anyone explain to me what the meaning of the size changing scrollbar is?
Does it show the ratio of window height over the height of the current rant or comment it the latter is longer than the window?3 -
So my company wanted a view in view look on their website. So it would look like a black background with a while box in the middle, right?
Well, the devs apparently thought that screens were capped height! On my monitor, the box is less than half the height, but since it stretches the width, the image got larger. So my screen has a scrollbar, and the actually useful part also has a scrollbar, with a shitton of space below!
If that didn't make sense, see crappy drawing of what I see...(painted on Phone). The dashes are the hidden parts that I can't see because of the window!2 -
Took an hour to fix color of scroll bar.
The issue I fixed from this "#injectLocation ::-webkit-scrollbar-thumb" to this "#injectLocation::-webkit-scrollbar-thumb"2 -
*adds border to the bottom of a fucking div*
Why, hello there Mr. FUCKTARD HORIZONTAL-FUCKING-SCROLLBAR. That totally makes God damn fucking shittard fuck'ala'fucking fuck-damn'le-shit-fucka-shittard sense.1 -
Did you notice that the scrollbar in the devrant (android) app changes size depending on the lenght/number of posts/comments you can see at the moment? Just scroll down in the posts list and see the scroll bar crawl like a caterpillar 😮1
-
The beta version of the new DEVRANT TOOLBOX is available now.
Its an unofficial web extension for Chrome and Firefox.
Chrome Web Store:
https://chrome.google.com/webstore/...
Firefox:
The certifaction process takes a long time, therefore I provided a direct download for the xpi file (for side loading).
https://drive.google.com/drive/...
Additional features: DUAL FRAME MODE (feeds left, rants right), themes (black, mono, darkgray, darkblue, comic, solarized), scrollbar plugin (perfect scrollbar, FF only), extended controls, fixed header, sorted userprofiles (by votes), autoreload (recent feed, 180 sec), highlighting new rants (recent feed), personal filter, image preview (mouseover), keyboard shortcuts, timestamps for rants, compact mode, colored notifs with clickable usernames, weekly rant.
I tested the extension with Windows Browsers only.
It would be great to get a feedback how it works with other systems!
Have fun with the toolbox.7 -
Why must the scrollbar look like its having a seizure whenever I scroll faster than a brisk scroll? Why does it even have to change length at all? Why can't it just be the same length all the time? It happens a bit in the devRant app, but it's even worse in other apps (like the reddit app).2
-
I really don’t get it, how can most people just so easily accept shortcomings and not even try for a second to improve the situation?
It drives me crazy ...
story:
I’m debugging an issue with a colleague over screen sharing, both of us have huge 4k screens. Colleague sets a breakpoint, popup opens „do you want to switch to debug perspective“, clicks on yes for the umpteenth time. Breakpoint halts, IDE is full of open and unrelated panels, he doesn’t even see the whole line if code but still grabs the scrollbar every friggin time and scrolls left, right, left, right, ...
changes some code, popup that hot code reload didn’t work, clicks ok for the umpth time here as well, although it has a don’t show again checkbox, like every frigging dialog in eclipse.
how can people work like this, it’s driving me nuts. Am I the only sane dev here??
Other colleague has weird message in the browser console (angular). I ask whats the problem and if he can’t just set a breakpoint to analyze the situation. No thats not possible, he says, instead he’s going to add a return statement to check how far the code execution goes ...
I wonder sometimes if I‘m already dead and have to suffer in dev hell for an unknown reason ... 🤔1 -
Holy shit. I'm on the devrant app and I just noticed that the scrollbar on the right does this weird worm thingy.
As I scroll up and down, the scrollbar size keeps changing. It's a cool effect where it twitches like a worm.
Is that an android o feature or something or did @dfox or @trogus add that shet.2 -
So, my experience is all with relational DBs (mssql) mainly and this job is the first time I've had to deal with mongodb.
I'm using the default compass client and I'm struggling with just how shit it is.
- A default font size of 5px high which resets every time it starts.
- Total lack of keyboard shortcuts.
- Inconsistent expansion& folding behaviours
- No saving of aggregates/queries if you accidentally click on another collection.
- ittle bitty query window which is actually multi line but with no scrollbar...
The list goes on.
And mongodb, whoever thought JavaScript is an appropriate query language... It's not.
It's probably because I don't have enough experience with it but the mix of quotes and $ seems so random...11 -
2 hours of debugging a web page. We had a simple border: 1px; margin: 4px; on the container, but on the right side it the border was outside the screenspace.
Like, gooohhh I hate this, is it some element that's making the container grow or something? Doesn't happen on all screen sizes..? So confused. No scrollbar so where's the overflow: hidden? ARGH I'm no pro at this! And this is a spagetti css file; just work stupid css!
The reason why, which took toooo long to find 😓, was that the monitors physical border was overlapping the right side of the screen, oh at such a suddle amount. Enough to not be noticeable normally, it looks completely usual, but it hid that stupidly stupid border!
I so hate/love when there's so such a simple solution. But now I'm gonna be stuck checking the screen border when instead it's my css that is off...2 -
When my Firefox window is too narrow devRant completely shits all over itself and glitches so hard that rants cannot be scrolled anymore unless I make the window larger and go apeshit on the scrollbar until it fixes itself again.
I thought my mouse broke.2 -
Just Installed devRantron, and noticed I cannot navigate through rants/posts by arrowkey.
Am I missing somthing ?
I clicked on the scrollbar and arrowDown scrolls down but not able to navigate through post with arrowKeys.8 -
Javafx is annoying as fuck.
I still don't know how to add a scrollbar to a vertical box. Why can't it be like visual studio? Just drag and drop.3 -
Does anybody have an idea how the height of the scrollbar of the devRant app is determined? It changes while scrolling, and I have not figured out yet why.4
-
How does anyone wrangle all these fucking JS packages!
Trying to fix issue where a table overflow problem...only in firefox. Found a quick fix then discovered it does not work when there is an event with a handle.
So come to find out perfect scrollbar does not like flex nor firefox (the only browser for the end user)
Jesus christ I miss laravel. -
I just noticed something.... I think I read more rants if they're displayed in pages with a scrollbar instead of infinite scrolling in the app.
Guess the rewarding feeling of reaching the end of a page helps? -
goddamnshitmotherfuckingshit wtf brain? why do all the examples just work, but my code looking similar just doesn´t. why the fuck is this basic thumbsucking baby topic of a scrollable canvas screwing me over since this morning?2
-
Is it possible to base a custom GTK+ theme on Adwaita without having to compile a custom GTK+?
I planned on following https://worldofgnome.org/creating-g... to solve a scrollbar styling issue for myself.
But that guide seems to be horribly outdated as Adwaita seems to be fully compiled in as an engine now - for performance reasons, wich they obviously would never expect to matter to people using custom themes (because else they would have optimized the application of all themes in general instead)...2