Skip to main content

Questions tagged [visibility]

Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].

visibility
2 votes
1 answer
2k views

Pause video on Tab switch in browser but should continue Playing when minimized the browser window

I am trying to pause the video when the user switches the tab in the browser and simultaneously if the user minimizes the browser window it should not get paused. I tried it implementing by using ...
Aadesh's user avatar
  • 23
0 votes
0 answers
114 views

Questions about visibility of Java volatile field

I am just starting to learn about java multi-threading and have been troubled with keyword volatile a lot. Many tutorial talk about the visibility of volatile field, just like "volatile field ...
pythonHua's user avatar
0 votes
2 answers
957 views

How to add scroll on visibility on flutter

i want to make scrollview in visibility but when i try to add SingleChildScrollView it still doesn't work, the result is like this This is the result and what I want the application will run as shown ...
Meng -'s user avatar
  • 9
1 vote
0 answers
59 views

Android: "Can't resolve method 'setVisibility' in group"

This piece of code fails to compile because the method setVisibility() cannot be resolved. public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { super.onViewCreated(view, ...
Mayur Chauhan's user avatar
0 votes
1 answer
144 views

Kotlin is the Open keyword a visibility modifier? [duplicate]

I'm new at Kotlin and I'm reading the kotlin official documentation, it states the 4 differents visibility modifiers (public, private, internal, protected) furthermore it's also using the keyword OPEN ...
Leandro Maro's user avatar
0 votes
1 answer
94 views

Elements not appearing when setting visibility to visible and using :checked pseudo-class

Well, what I'm trying to do is hiding/showing the pictures and pictures' history when the user clicks on the "button", where it says "icon". I don't need any javascript since I ...
PabloJ's user avatar
  • 3
0 votes
0 answers
522 views

After "go to previous page" checkbox remains checked, but won't be detected by jquery

I have an array of checkboxes which can be used in a sort of calendar app. Whenever the checkbox gets checked, a label should become visible. My HTML looks something like this: <script src="...
Kiiiieeeeuuuw's user avatar
0 votes
1 answer
194 views

How to disable validation of a combox element when visibility is collapsed?

I want to disable the validation of a ComboBox or a TextBox when their visibility is collapsed. Can I realize this within the XAML code? <ComboBox Name="XYZCb" ItemsSource=&...
patrickgc's user avatar
2 votes
1 answer
862 views

Function accessing private member of a class in same file

I have a function that relies on a property that is initialized at class load time. Currently, it is written like this: object MyObj { private val myPrivateProperty = someInitializingStuff(); ...
k314159's user avatar
  • 8,782
0 votes
2 answers
43 views

Why does the opacity not work when I hover over the square?

When I hover over the square, I want the text "MENU" to go and "Google" and "Youtube" to appear. I gave the opacity value for it. "MENU" text disappears but ...
Champion's user avatar
0 votes
0 answers
129 views

How can i find the visibility mesh from a point inside a given mesh?

I am trying to find the points inside a given mesh from which the whole mesh is visible. I created an algorithm for the 2D problem but the 3D gives me trouble. The route I took was that I am taking ...
Ιάσονας Ψιμόπουλος's user avatar
3 votes
5 answers
209 views

Hiding record from child packages

package Parent is type Item is private; function Get return Item; private type Item is record Value : Boolean; end record; procedure Set (Object ...
user avatar
1 vote
1 answer
1k views

C# class can't see static method of another class

I've run into some accessibility problem with one of my Unity projects. I created a class that does NOT inherit from MonoBehaviour. It has a method public static void LoadScene(string sceneName). When ...
B3NII's user avatar
  • 405
0 votes
0 answers
31 views

django permissions instead of groups

We have multiple positions in the hierarchy of the company : such as director of sales, salesperson, restaurant director and let say maitre d'hotel, however if we have a follow up or a memo some might ...
Drayen Dörff's user avatar
1 vote
3 answers
81 views

Recryler in imageview how to make invisible

How do I fix this issue? ı want to recylerview in Imageview make INVISIBLE but it doesn't work my codes are below and sory for my bad english :) this movement in many places but I could not find the ...
quartsuee's user avatar
0 votes
2 answers
106 views

How can i eliminate Empty spaces in recyclerView when trying to hide cards with null properties?

Empty spaces in recyclerView when trying to hide cards with null properties Hi, i'm new here. So this is my first question. I am trying to use the google Books API for a task and when I implement ...
Leo Rodenas's user avatar
0 votes
2 answers
2k views

Display indicator only on specific timeframes

This is my first post and I am a beginner with pinescript. For Indicators like EMA, under settings there is a tab for "Visibility" where it can be selected which timeframes that the ...
obee's user avatar
  • 1
0 votes
1 answer
887 views

CSS transition is jumpy on opacity fade out

I'm working on a breadcrumb menu that has a link appear all the way to the right once the menu becomes sticky to let users scroll back up to the top of the page. The breadcrumb <nav> has ...
liquidRock's user avatar
1 vote
2 answers
12k views

Flutter Visibility with Condition (How can I hide only one widget with condition)

I have a problem with using Visibility widget. What I want to do is hiding certain listview's by depending user's click on my Row. But when User click on row, all Listview is showing. When clicked ...
OnurParlak's user avatar
0 votes
1 answer
819 views

Intellij cannot resolve method even though it is public (Java)

I have googled this a lot, invalidated the cache, and I can't seem to find an answer. For background, this is a timetabling system using constraint solving. I have a custom class called Period with ...
Donagh's user avatar
  • 109
0 votes
1 answer
453 views

Showing Hidden Image With Onclick Function

my objective is to have an image hidden until a button is pressed to then show the previously hidden image. Right now I have an image in html with an Id of "yellowrose" that is hidden with ...
Brian Lee Victory's user avatar
0 votes
2 answers
919 views

How to change visibility of textview on button click without providing ID to them?

In this I need to know that how do I access a view without providing the Id to them in this there will be no id provided in any of the file. Without the use of external libraries like viewbinding, ...
Khush Pajwani's user avatar
1 vote
0 answers
189 views

split rust module in several files

I've read uncountable questions on splitting rust modules on different files, and surprising none seem to address what I see as a most natural problem. So the question is not how should I have split a ...
user2759511's user avatar
2 votes
1 answer
5k views

How do I access "private" struct's field from other files in Rust?

As advised by my lead programmer, who's not knowledgeable in Rust but knows a lot about OO languages like Java, C#, and such, I should separate the functions and associated methods of a particular &...
MikeTheSapien's user avatar
2 votes
0 answers
111 views

2D visibility algorithm not works well for overlapped case

I find the visibility algorithm in one great website Since it is quiet long ago article, I am not sure that the author will give the answer. As you can see, the interactive playground(try it yourself) ...
Period Positive's user avatar
2 votes
1 answer
2k views

Can browser detect when the browser is running on Foreground or Background mode? [duplicate]

I want to know that when I used multiples types of software on my computer, the browser can detect the others software is running or to? And also can the browser handle that the browser is running in ...
Mijanur Rahman's user avatar
1 vote
2 answers
4k views

Cypress - checking for the presence of a button and clicking on it if it is there

Using Cypress I am testing a product which includes an autosave feature which kicks in at regular intervals. You can't guarantee when exactly the autosave will trigger as it is dependent on a number ...
Paul Appleton's user avatar
1 vote
3 answers
2k views

What are the differences between typescript access modifiers and javascript ones? And which one should I prefer while using typescript?

Typescript offers the public,protected and private keywords for defining the visibility of the member or the method declared next to them, however, I know that since ES6 Javascript allow the use of ...
Michele Nuzzi's user avatar
-2 votes
1 answer
102 views

Android java.lang.NullPointerException on not empty object [duplicate]

I'm trying to hide an image view: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_search); allImageView = ...
Ziv Sion's user avatar
  • 454
0 votes
1 answer
1k views

Visibility on Flutter Speed Dial Children?

I'm using the Flutter Speed Dial plugin within a container. I need to toggle the visibility of just one of its children (SpeedDialChild); child: Container( width: 165, height:...
Meggy's user avatar
  • 1,611
6 votes
2 answers
1k views

Flutter The cursor and the keyboard does not show when focus is true

I am using a Linkable to highlight web links, phone numbers, and email addresses from what the user types into a textfield. The first problem is that the linkable does not take textfield in, it only ...
Y K's user avatar
  • 71
-1 votes
3 answers
416 views

Java Overridden method visibility scope

How is the following program correct? abstract class Calculate { abstract int multiply(int a, int b); } public class Main { public static void main(String[] args) { ...
rahul sharma's user avatar
0 votes
0 answers
346 views

How to change visibility of any method from a PHP object on runtime?

Ok folks, this is what I'm trying to accomplish here. I want to call a method each time that another method is called, like a middle man. I'm aware of these magic methods: __call($method, $args) and ...
Ralph Moran's user avatar
0 votes
2 answers
491 views

How to set visibility GONE of a Linear Layout which is inside a scroll view and contains two TextViews inside?

The main layout is a Linear layout inside that a scroll view is there which contain sublayouts. Here is my layout [omitted everything except the specific layout (marked with red) as it will be very ...
s4surajverma's user avatar
0 votes
2 answers
1k views

Use scroll position to toggle visibility of a button, using vanilla JavaScript (no JQuery). Pay attention to performance

I have a button to scroll up from bottom of a page: <div id="scroll-to-top"> <a href="#head"> <i></i> </a> </div> The essential CSS:...
Hermann Schwarz's user avatar
0 votes
1 answer
53 views

Make display data textviews invisible until a city is searched

I set my textviews on my weather app to display the data for cities when searched on my search panel (i.e temp_out.setText(response.body().getMain().getTemp() + " ℃"););. It works quite fine ...
Richard Wilson's user avatar
0 votes
2 answers
764 views

Azure Devops permissions - can one area be visible to one team and invisible to another

In my Azure boards, I have a hierarchical structure of the areas. In the team settings, all teams have areas being set, just like described here: https://learn.microsoft.com/en-us/azure/devops/boards/...
Bub's user avatar
  • 27
1 vote
1 answer
1k views

GNOME: cannot get rid of windows appearing on all workspaces, but only for external monitor

I have connected an external monitor to my laptop. I now have strange behavior: If an application window is on the primary screen, then it will only be shown on one desktop. If a window is on the ...
karsten's user avatar
  • 673
0 votes
2 answers
174 views

I need to hide the "log out" option

Im new in flutter and i need some help to hide the "logout" option from my sidebar when the user is using the app without registering i already try to use the "visibility" widget ...
Fabian Ocampo's user avatar
8 votes
1 answer
2k views

hidding symbols from a static library

I have a c++ shared library - libA.so. I hide symbols using -fvisibility=hidden flag. The symbols which should be visible have the following attribute: __attribute__ ((visibility ("default"))...
Irbis's user avatar
  • 1,377
1 vote
1 answer
1k views

symbols visibility - shared library vs dll

I have a C++ dynamic library which defines global symbols - functions. When I compile the library using gcc those symbols are by default visible. It may leads to symbol collisions when an application ...
Irbis's user avatar
  • 1,377
27 votes
3 answers
949 views

Why is the data array in java.util.ArrayList package-private?

In the java.util.ArrayList class, the object array for the list's elements is defined as package-private: transient Object[] elementData; // non-private to simplify nested class access The comment ...
Andreas Schörgenhumer's user avatar
0 votes
2 answers
464 views

Trouble making text disappear in code using Javascript

I'm simply trying to get the text to disappear when the mouse hovers over a sprite, and it won't do that. I've tried many things - putting text(A/B).visible = true; in an else statement. I've moved my ...
Joshua Hawkes's user avatar
1 vote
0 answers
39 views

Why below code gives error even if the public function in derived class is the one being called..?

In the following code a public function has overriden a private virtual function in base class ob->hello() shall call hello() in derived class which is public. why do i still see an error that ...
pinky's user avatar
  • 11
1 vote
1 answer
383 views

Show/Hide div within a single row in a foreach loop - KnockoutJS

I've tried several ways of doing this with no success. Would love some advice! Goal: I have a table where each row is an order, but where within that row, if changes need to be made, a div appears ...
JackOfTrades's user avatar
0 votes
3 answers
222 views

Visibility guarantees of atomic variables

Having read lots about volatile, atomic and visibility, one question remains. Following works across threads, "a" is visible all the time, when "b" is updated/read: int a; volatile ...
lockfreecode's user avatar
1 vote
1 answer
395 views

How to change Flutter widget Visibility using Firebase Realtime Database and FutureBuilder?

Well, My realtime database looks like: Database My app looks like: Slidable button The slidable button is wrapped in Visibility() widget, so, I'm trying to set this one invisible when child "...
Edwin Andrango's user avatar
2 votes
1 answer
244 views

Are visibility declations necessary when using a shared library on Unix-like systems?

When using CMake's GenerateExportHeader on Linux/macOS, it generates something like this by default for shared libraries: # ifndef SOMELIB_EXPORT # ifdef somelib_EXPORTS /* We are building ...
Szabolcs's user avatar
  • 25.4k
1 vote
2 answers
2k views

Private property in parent class can be accessed and re-assigned through the instance of child class in PHP but protected one can't

I am very confused why $produk1->harga = 500; can still make a change (or re-assign the value 500) to private $harga property despite private $harga in class Produk has PRIVATE visibility ? $...
didaen's user avatar
  • 48
0 votes
2 answers
570 views

Show hidden element if their character length is less than 8

I have a hidden element called ShowUsername that I want to show if the user inputs a username that is less than 8 characters. I can't seem to figure this out if someone could help me out. I currently ...
NoLuckCollector's user avatar

15 30 50 per page
1
3 4
5
6 7
64